From 7153a4c71e800e43453182bb669a8a2a29abe998 Mon Sep 17 00:00:00 2001 From: micbou Date: Mon, 27 Feb 2017 00:09:24 +0100 Subject: [PATCH] Update pass to 1.7 Add libqrencode package which is a new optional dependency of pass. --- libqrencode-git/PKGBUILD | 31 +++++++++++++++++++++++++++++++ pass/PKGBUILD | 13 +++++++------ 2 files changed, 38 insertions(+), 6 deletions(-) create mode 100755 libqrencode-git/PKGBUILD diff --git a/libqrencode-git/PKGBUILD b/libqrencode-git/PKGBUILD new file mode 100755 index 00000000..05a5a35a --- /dev/null +++ b/libqrencode-git/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: micbou + +pkgname=libqrencode-git +pkgver=v3.4.3.r238.ge3410bf +pkgrel=1 +pkgdesc='QR Code encoding library' +arch=('i686' 'x86_64') +url='http://fukuchi.org/works/qrencode/' +license=('LGPL') +makedepends=('git' 'gcc') +provides=("${pkgname%-git}") +conflicts=("${pkgname%-git}") +source=(git+https://github.com/fukuchi/libqrencode) +sha256sums=('SKIP') + +pkgver() { + cd "${srcdir}/${pkgname%-git}" + git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +} + +build() { + cd "${srcdir}/${pkgname%-git}" + ./autogen.sh + ./configure + make LDFLAGS="${LDFLAGS} -no-undefined" +} + +package() { + cd "${srcdir}/${pkgname%-git}" + make install +} diff --git a/pass/PKGBUILD b/pass/PKGBUILD index bd1afd77..467d4910 100644 --- a/pass/PKGBUILD +++ b/pass/PKGBUILD @@ -1,18 +1,19 @@ # Maintainer: micbou pkgname='pass' -pkgver=1.6.5 -pkgrel=2 +pkgver=1.7 +pkgrel=1 pkgdesc='Stores, retrieves, generates, and synchronizes passwords securely' arch=('any') url='https://www.passwordstore.org' license=('GPL2') -depends=('bash' 'gnupg' 'pwgen' 'tree') -optdepends=('git: for Git support') +depends=('bash' 'gnupg' 'tree') +optdepends=('git: Git support' + 'libqrencode: QR Code support') source=(https://git.zx2c4.com/password-store/snapshot/password-store-${pkgver}.tar.xz) -sha256sums=('337a39767e6a8e69b2bcc549f27ff3915efacea57e5334c6068fcb72331d7315') +sha256sums=('161ac3bd3c452a97f134aa7aa4668fe3f2401c839fd23c10e16b8c0ae4e15500') package() { cd "${srcdir}/password-store-$pkgver/" - make DESTDIR="${pkgdir}" FORCE_ALL=1 install + make install }