aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--contrib/archlinux/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/contrib/archlinux/PKGBUILD b/contrib/archlinux/PKGBUILD
new file mode 100644
index 0000000..c0ec487
--- /dev/null
+++ b/contrib/archlinux/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: √Čtienne Deparis <etienne@depar.is>
+# Contributor: Lukas Fleischer <lfleischer@archlinux.org>
+# Contributor: Simon Zimmermann <simon@insmo.com>
+
+pkgname='pass'
+pkgver=1.7.3
+pkgrel=2
+_pkgcommit=afe2c5c06415b42e6dc0938c63f66e5e77be0b20
+pkgdesc='Stores, retrieves, generates, and synchronizes passwords securely'
+arch=('any')
+url='https://www.passwordstore.org/'
+license=('GPL2')
+depends=('xclip' 'bash' 'gnupg' 'tree')
+checkdepends=('git')
+optdepends=('git: for Git support'
+ 'rofi: for passrofi'
+ 'qrencode: for QR code support')
+source=("https://git.deparis.io/password-store/snapshot/password-store-${_pkgcommit}.tar.gz")
+sha256sums=('0ee10cfdf7661812d0db0b9ce4bfa0dc895431c189040b5f64b5b66859076abd')
+
+check() {
+ cd "${srcdir}/password-store-${_pkgcommit}/"
+ make test
+}
+
+package() {
+ cd "${srcdir}/password-store-${_pkgcommit}/"
+ make DESTDIR="${pkgdir}" WITH_ALLCOMP=yes install
+
+ cd contrib/rofi
+ install -D -m755 passrofi.py "${pkgdir}/usr/bin/passrofi"
+}