updated on Tue Jan 17 20:03:13 UTC 2012
[aur-mirror.git] / pwsafe-twice / PKGBUILD
blob57ac33708e5d883e8d1bd5f42466974fdf9c5eb1
1 # what with: http://code.google.com/p/chromium/issues/detail?id=37755
2 # This is useful to work against some clients (such as Chrome) which read from the clipboard twice.
3 pkgname=pwsafe-twice
4 _pkgname=pwsafe
5 pkgver=0.2.0
6 pkgrel=6
7 pkgdesc="A commandline program for managing encrypted password databases"
8 arch=('i686' 'x86_64')
9 url="http://nsd.dyndns.org/pwsafe/"
10 license=('GPL')
11 depends=('openssl' 'libxmu' 'readline')
12 provides=('pwsafe')
13 conflicts=('pwsafe')
14 replaces=('pwsafe')
15 source=($url/releases/${_pkgname}-${pkgver}.tar.gz pwsafe-twice.patch)
16 md5sums=('4bb36538a2772ecbf1a542bc7d4746c0' '55c4fc50d43b5fadb864114b8e5d82ec')
18 build() {
19   patch ${srcdir}/${_pkgname}-${pkgver}/pwsafe.cpp pwsafe-twice.patch
20   cd ${srcdir}/${_pkgname}-${pkgver}
21   ./configure --prefix=/usr --mandir=/usr/share/man
22   make || return 1
23   make DESTDIR=${pkgdir} install
25   # Make pwsafe suid root so it can seed rng as a user
26   chmod +s ${pkgdir}/usr/bin/pwsafe