[arch-commits] Commit in pass/trunk (PKGBUILD)
Lukas Fleischer
lfleischer at archlinux.org
Wed Apr 12 05:19:28 UTC 2017
Date: Wednesday, April 12, 2017 @ 05:19:27
Author: lfleischer
Revision: 222472
upgpkg: pass 1.7-2
* Run the test suite.
* Update upstream home page (fixes FS#52996).
* Fix dependencies (fixes FS#53114).
* Include fish completion (fixes FS#53170).
Modified:
pass/trunk/PKGBUILD
----------+
PKGBUILD | 28 +++++++++++++++++++++-------
1 file changed, 21 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-04-12 04:49:15 UTC (rev 222471)
+++ PKGBUILD 2017-04-12 05:19:27 UTC (rev 222472)
@@ -3,23 +3,37 @@
pkgname='pass'
pkgver=1.7
-pkgrel=1
+pkgrel=2
pkgdesc='Stores, retrieves, generates, and synchronizes passwords securely'
arch=('any')
-url='http://zx2c4.com/projects/password-store/'
+url='https://www.passwordstore.org/'
license=('GPL2')
-depends=('xclip' 'bash' 'gnupg' 'pwgen' 'tree')
+depends=('xclip' 'bash' 'gnupg' 'tree')
+checkdepends=('git')
optdepends=('git: for Git support'
- 'dmenu: for passmenu')
+ 'dmenu: for passmenu'
+ 'qrencode: for QR code support')
replaces=('passmenu')
provides=('passmenu')
conflicts=('passmenu')
-source=("https://git.zx2c4.com/password-store/snapshot/password-store-${pkgver}.tar.xz")
-md5sums=('d50730755d9da64db2250aa0ab30bf89')
+source=("https://git.zx2c4.com/password-store/snapshot/password-store-${pkgver}.tar.xz"
+ "https://git.zx2c4.com/password-store/patch/?id=6f867674272a03273212259b9039c9356a6ed90f")
+sha256sums=('161ac3bd3c452a97f134aa7aa4668fe3f2401c839fd23c10e16b8c0ae4e15500'
+ '76239495c6f6f227f38bf1e6fdbb6ab44e895ae411b56b1953a2025393440301')
+prepare() {
+ cd "${srcdir}/password-store-$pkgver/"
+ patch -p1 -i '../?id=6f867674272a03273212259b9039c9356a6ed90f'
+}
+
+check() {
+ cd "${srcdir}/password-store-$pkgver/"
+ make test
+}
+
package() {
cd "${srcdir}/password-store-$pkgver/"
- make DESTDIR="${pkgdir}" FORCE_ALL=1 install
+ make DESTDIR="${pkgdir}" WITH_ALLCOMP=yes install
cd contrib/dmenu
install -Dm0755 passmenu "${pkgdir}/usr/bin/passmenu"
More information about the arch-commits
mailing list