fixed!
This commit is contained in:
parent
0180550784
commit
d897e4bec3
1
.gitignore
vendored
1
.gitignore
vendored
@ -35,7 +35,6 @@ __pycache__/
|
||||
.Python
|
||||
build/
|
||||
develop-eggs/
|
||||
dist/
|
||||
downloads/
|
||||
eggs/
|
||||
.eggs/
|
||||
|
40
zsh/modules/prompt/external-themes/liquidprompt/contrib/dist/archlinux-aur/PKGBUILD
vendored
Normal file
40
zsh/modules/prompt/external-themes/liquidprompt/contrib/dist/archlinux-aur/PKGBUILD
vendored
Normal file
@ -0,0 +1,40 @@
|
||||
# Maintainer: Julien Pecqueur (JPEC) <jpec[at]julienpecqueur[dot]net>
|
||||
pkgname=liquidprompt-git
|
||||
pkgver=20130314
|
||||
pkgrel=3
|
||||
pkgdesc="An intelligent and non intrusive prompt for bash and zsh"
|
||||
url="https://github.com/nojhan/liquidprompt"
|
||||
arch=('any')
|
||||
license=('AGPLv3')
|
||||
optdepends=('screen' 'acpi')
|
||||
makedepends=('git')
|
||||
md5sums=('SKIP')
|
||||
install=liquidprompt.install
|
||||
_gitroot="git://github.com/nojhan/liquidprompt.git"
|
||||
_gitname="liquidprompt"
|
||||
|
||||
build() {
|
||||
cd ${srcdir}/
|
||||
msg "Connecting to the GIT server...."
|
||||
if [[ -d ${srcdir}/${_gitname} ]] ; then
|
||||
cd ${_gitname}
|
||||
git reset --hard
|
||||
git pull origin
|
||||
msg "The local files are updated..."
|
||||
else
|
||||
msg "Cloning git repo..."
|
||||
git clone ${_gitroot}
|
||||
cd ${_gitname}
|
||||
fi
|
||||
git reset --hard
|
||||
msg "GIT checkout done."
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/${_gitname}"
|
||||
# install files
|
||||
install -Dm755 liquidprompt "$pkgdir/usr/bin/liquidprompt"
|
||||
install -Dm644 liquidpromptrc-dist "$pkgdir/etc/liquidpromptrc"
|
||||
}
|
||||
|
||||
# vim:set ts=2 sw=2 et:
|
@ -0,0 +1,4 @@
|
||||
post_install() {
|
||||
echo "Use 'source liquidprompt' to enable the prompt."
|
||||
}
|
||||
|
18
zsh/modules/prompt/external-themes/liquidprompt/contrib/dist/debian/create_deb.sh
vendored
Executable file
18
zsh/modules/prompt/external-themes/liquidprompt/contrib/dist/debian/create_deb.sh
vendored
Executable file
@ -0,0 +1,18 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo "Creating Debian's package..."
|
||||
nano ./liquidprompt/DEBIAN/control
|
||||
|
||||
echo "Copying files..."
|
||||
cp ../../liquidprompt ./liquidprompt/usr/bin/liquidprompt
|
||||
cp ../../liquidpromptrc-dist ./liquidprompt/etc/liquidpromptrc
|
||||
chmod a+x ./liquidprompt/usr/bin/liquidprompt
|
||||
|
||||
echo "Building liquidprompt.deb..."
|
||||
dpkg-deb -b liquidprompt
|
||||
|
||||
echo "Deleting files..."
|
||||
rm -f ./liquidprompt/etc/*
|
||||
rm -f ./liquidprompt/usr/bin/*
|
||||
|
||||
echo "Done !"
|
11
zsh/modules/prompt/external-themes/liquidprompt/contrib/dist/debian/liquidprompt/DEBIAN/control
vendored
Normal file
11
zsh/modules/prompt/external-themes/liquidprompt/contrib/dist/debian/liquidprompt/DEBIAN/control
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
Package: liquidprompt
|
||||
Version: 1.3-0
|
||||
Section: base
|
||||
Priority: optional
|
||||
Architecture: all
|
||||
Depends: bash
|
||||
Recommends: acpi
|
||||
Suggests: git, screen, tmux
|
||||
Maintainer: Julien Pecqueur <jpec@julienpecqueur.net>
|
||||
Description: A slick adaptative prompt for Bash and Zsh.
|
||||
Homepage: http://github.com/nojhan/liquidprompt
|
Loading…
Reference in New Issue
Block a user