PKGBUILDs/community/pwsafe/PKGBUILD
2009-10-09 21:15:33 -05:00

22 lines
641 B
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Vesa Kaihlavirta <vegai@iki.fi>
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
}