summaryrefslogtreecommitdiff
path: root/community/pwsafe/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
committerroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
commit7a65a910b77ad191d69881098c47f9b0c852d92e (patch)
tree9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/pwsafe/PKGBUILD
parent60da6abff6c9577a783d72865f11de7a585e912e (diff)
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/pwsafe/PKGBUILD')
-rw-r--r--community/pwsafe/PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/community/pwsafe/PKGBUILD b/community/pwsafe/PKGBUILD
new file mode 100644
index 000000000..2a4535a27
--- /dev/null
+++ b/community/pwsafe/PKGBUILD
@@ -0,0 +1,35 @@
+# $Id: PKGBUILD 69267 2012-04-11 11:46:13Z lcarlier $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Maintainer: Vesa Kaihlavirta <vegai@iki.fi>
+
+pkgname=pwsafe
+pkgver=0.2.0
+pkgrel=8
+pkgdesc="A commandline program for managing encrypted password databases"
+arch=('i686' 'x86_64')
+url="http://nsd.dyndns.org/pwsafe/"
+license=('GPL')
+depends=('openssl' 'libxmu' 'readline')
+source=(${url}/releases/${pkgname}-${pkgver}.tar.gz
+ pwsafe-XChangeProperty.patch)
+md5sums=('4bb36538a2772ecbf1a542bc7d4746c0'
+ 'cff6aee2e43f5fbe82e8cd7ccfefb099')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+
+ # Patch from fedora, fixes FS#28339
+ patch -Np0 -i ../pwsafe-XChangeProperty.patch
+
+ ./configure --prefix=/usr --mandir=/usr/share/man
+ make
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+
+ make DESTDIR=${pkgdir} install
+
+ # Make pwsafe suid root so it can seed rng as a user
+ chmod +s ${pkgdir}/usr/bin/pwsafe
+}