summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD34
1 files changed, 34 insertions, 0 deletions
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:
+