blob: 74fbd3a1eca9efd6f52018c5954999b1213bf4aa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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' 'mips64el')
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 --build=$CHOST
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
}
|