aboutsummaryrefslogtreecommitdiffstats
path: root/testing/pass
diff options
context:
space:
mode:
authorJohannes Matheis <jomat+alpinebuild@jmt.gr>2014-08-30 17:08:46 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-09-01 08:27:45 +0000
commitd196cabcdf7ddd8f2a8087e734910e0b5c946004 (patch)
tree33196500fa0fcdc07a3b2f61226b61247b56cb0f /testing/pass
parenta2007d97257e8bd1d27c44891f796c93b3c16d0e (diff)
downloadaports-d196cabcdf7ddd8f2a8087e734910e0b5c946004.tar.bz2
aports-d196cabcdf7ddd8f2a8087e734910e0b5c946004.tar.xz
testing/pass: new aport
http://zx2c4.com/projects/password-store/ Stores, retrieves, generates, and synchronizes passwords securely
Diffstat (limited to 'testing/pass')
-rw-r--r--testing/pass/APKBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/testing/pass/APKBUILD b/testing/pass/APKBUILD
new file mode 100644
index 0000000000..4506ae1545
--- /dev/null
+++ b/testing/pass/APKBUILD
@@ -0,0 +1,44 @@
+# Contributor: Johannes Matheis <jomat+alpinebuild@jmt.gr>
+# Maintainer: Johannes Matheis <jomat+alpinebuild@jmt.gr>
+pkgname=pass
+pkgver=1.6.3
+pkgrel=0
+pkgdesc="Stores, retrieves, generates, and synchronizes passwords securely"
+url="http://zx2c4.com/projects/password-store/"
+arch="noarch"
+license="GPL2"
+depends="bash"
+depends_dev=""
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-doc $pkgname-completion $pkgname-contrib"
+source="http://git.zx2c4.com/password-store/snapshot/password-store-${pkgver}.tar.xz"
+
+_builddir="$srcdir/password-store-$pkgver"
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" \
+ FORCE_BASHCOMP=0 \
+ FORCE_ZSHCOMP=0 \
+ FORCE_FISHCOMP=0 install
+}
+
+completion() {
+ pkgdesc="bash/fish/zsh completion files for pass"
+ cd "$_builddir"
+ make DESTDIR="$subpkgdir" \
+ FORCE_BASHCOMP=1 \
+ FORCE_ZSHCOMP=1 \
+ FORCE_FISHCOMP=1 install-common
+ rm -rf "$subpkgdir"/usr/share/man/
+}
+
+contrib() {
+ pkgdesc="contrib files for pass"
+ mkdir -p "$subpkgdir"/usr/share
+ cp -a "$_builddir"/contrib "$subpkgdir"/usr/share/$pkgname
+}
+
+md5sums="bcfd1027f5c92f26d7fcbf4e3af750eb password-store-1.6.3.tar.xz"
+sha256sums="d419d40aa165c1f893e994dd706733374a9db8cf5314124702a061e70e0340f7 password-store-1.6.3.tar.xz"
+sha512sums="684b779361da0b4c107141f2c21d845fb277f537305ab351dda8a0f7041ce6f9215dab54a2fdc1b8e3c06e01346e1562f800b07519cd76b364313f6f24d2f010 password-store-1.6.3.tar.xz"