summaryrefslogtreecommitdiff
path: root/community/pwsafe/PKGBUILD
blob: ee1fb10112ec651e4fac5b2f4d8f1065672466c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# $Id: PKGBUILD 14237 2010-04-02 09:42:35Z spupykin $
# Maintainer: Vesa Kaihlavirta <vegai@iki.fi>
pkgname=pwsafe
pkgver=0.2.0
pkgrel=6
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)
md5sums=('4bb36538a2772ecbf1a542bc7d4746c0')

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  ./configure --prefix=/usr --mandir=/usr/share/man
  make || return 1
  make DESTDIR=${pkgdir} install

  # Make pwsafe suid root so it can seed rng as a user
  chmod +s ${pkgdir}/usr/bin/pwsafe
}