[arch-commits] Commit in pwsafe/trunk (PKGBUILD)
Sergej Pupykin
spupykin at archlinux.org
Tue Sep 8 10:20:53 UTC 2015
Date: Tuesday, September 8, 2015 @ 12:20:53
Author: spupykin
Revision: 139592
upgpkg: pwsafe 20150908-1
upd
Modified:
pwsafe/trunk/PKGBUILD
----------+
PKGBUILD | 29 +++++++++++++++++------------
1 file changed, 17 insertions(+), 12 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-09-08 09:54:34 UTC (rev 139591)
+++ PKGBUILD 2015-09-08 10:20:53 UTC (rev 139592)
@@ -3,33 +3,38 @@
# Maintainer: Vesa Kaihlavirta <vegai at iki.fi>
pkgname=pwsafe
-pkgver=0.2.0
-pkgrel=9
+pkgver=20150908
+pkgrel=1
pkgdesc="A commandline program for managing encrypted password databases"
arch=('i686' 'x86_64')
-url="http://nsd.dyndns.org/pwsafe/"
+url="https://github.com/nsd20463/pwsafe"
license=('GPL')
-depends=('openssl' 'libxmu' 'readline')
-source=(${url}/releases/${pkgname}-${pkgver}.tar.gz
+depends=('openssl' 'libxmu')
+makedepends=('git')
+source=("git://github.com/nsd20463/pwsafe.git"
pwsafe-XChangeProperty.patch)
-md5sums=('4bb36538a2772ecbf1a542bc7d4746c0'
+md5sums=('SKIP'
'cff6aee2e43f5fbe82e8cd7ccfefb099')
-build() {
- cd ${srcdir}/${pkgname}-${pkgver}
-
+prepare() {
+ cd ${srcdir}/${pkgname}
# Patch from fedora, fixes FS#28339
patch -Np0 -i ../pwsafe-XChangeProperty.patch
+}
+build() {
+ cd ${srcdir}/${pkgname}
+ aclocal
+ autoheader
+ automake --add-missing
+ autoconf
./configure --prefix=/usr --mandir=/usr/share/man
make
}
package() {
- cd ${srcdir}/${pkgname}-${pkgver}
-
+ cd ${srcdir}/${pkgname}
make DESTDIR=${pkgdir} install
-
# Make pwsafe suid root so it can seed rng as a user
chmod +s ${pkgdir}/usr/bin/pwsafe
}
More information about the arch-commits
mailing list