From 498e4e924c6fd465ac35d0afe513952121cf07aa Mon Sep 17 00:00:00 2001 From: Justin Gassner Date: Thu, 28 Dec 2017 00:15:02 +0100 Subject: Add pass --- pass/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 pass/PKGBUILD diff --git a/pass/PKGBUILD b/pass/PKGBUILD new file mode 100644 index 0000000..3209e41 --- /dev/null +++ b/pass/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Justin Gassner + +_pkgname=pass +pkgname=$_pkgname-jxir +pkgver=1.7.1.10.ga61c527 +pkgrel=1 +pkgdesc='Stores, retrieves, generates, and synchronizes passwords securely' +arch=('any') +url='https://zx2c4.com/projects/password-store/' +license=('GPL2') +depends=('bash' 'gnupg' 'pwgen' 'xclip') +optdepends=('git: for Git support' + 'dmenu: for passmenu') +provides=("$_pkgname") +conflicts=("$_pkgname") +source=("git+https://git.jxir.de/$_pkgname") +sha256sums=('SKIP') + +pkgver(){ + cd "$_pkgname" + git describe --tags | sed 's/-/./g' +} + +prepare() { + cd "$_pkgname" + for branch in no-tree; do + git merge --no-edit origin/$branch + done +} + +package() { + cd "$_pkgname" + make DESTDIR="$pkgdir" FORCE_ALL=1 install + install -Dm0755 contrib/dmenu/passmenu "$pkgdir/usr/bin/passmenu" +} -- cgit v1.2.3-54-g00ecf