# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $ # Maintainer: Vesa Kaihlavirta pkgname=pwsafe pkgver=0.2.0 pkgrel=4 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) md5sums=('4bb36538a2772ecbf1a542bc7d4746c0') build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr make || return 1 make DESTDIR=$startdir/pkg install # Make pwsafe suid root so it can seed rng as a user chmod +s $startdir/pkg/usr/bin/pwsafe }