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 | |
download | aur-kip-git.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 34 |
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 00000000000..af21c9500c3 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = kip-git + pkgdesc = Command line script to keep usernames and passwords in GnuPG encrypted text files + pkgver = 20120909 + pkgrel = 2 + url = https://github.com/grahamking/kip + arch = any + license = GPL3 + depends = python + depends = python-distribute + options = !emptydirs + +pkgname = kip-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 00000000000..dc4039ab18b --- /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: + |