diff options
author | Simon Perry (Pezz) | 2015-06-10 14:03:35 +1000 |
---|---|---|
committer | Simon Perry (Pezz) | 2015-06-10 14:03:35 +1000 |
commit | 134ee12df707e9a0e97a2fc2f030a31af73a7d1d (patch) | |
tree | c161f2036313be819e8e08e512a9dfc388575319 /PKGBUILD | |
download | aur-kip-git.tar.gz |
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..dc4039ab18be --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: Simon Perry <pezz [@] sanxion [.] net> + +pkgname=kip-git +pkgver=20120909 +pkgrel=2 +pkgdesc="Command line script to keep usernames and passwords in GnuPG encrypted text files" +arch=('any') +url="https://github.com/grahamking/kip" +license=('GPL3') +depends=('python' 'python-distribute') +makedepends=() +options=(!emptydirs) + +_gittrunk=https://github.com/grahamking/kip.git +_gitmod=kip + +build() { + if [ -d $_gitmod/.git ] + then + (cd $_gitmod && git pull) + else + git clone $_gittrunk $_gitmod + fi + + msg "GIT clone done or server timeout." +} + +package() { + cd "$srcdir/$_gitmod" + python setup.py install --root="$pkgdir/" --optimize=1 +} + +# vim:set ts=2 sw=2 et: + |