updated on Thu Jan 19 04:14:35 UTC 2012
[aur-mirror.git] / passwdqc-utils / PKGBUILD
blob1ba8271e7892ff6e885c7576ebb33bac05d3cda6
1 # Maintainer: Viaken <viaken@gmail.com>
2 pkgname=passwdqc-utils
3 realpkgname=passwdqc
4 pkgver=1.2.2
5 pkgrel=2
6 pkgdesc="pwqcheck (password strength checker) and pwqgen (random passphrase generator) from passwdqc"
7 arch=('any')
8 url="http://www.openwall.com/passwdqc/"
9 license=('BSD' 'custom:BSD Revised')
10 optdepends=('pam_passwdqc: Enforce password strength rules')
11 source=(http://www.openwall.com/passwdqc/$realpkgname-$pkgver.tar.gz)
12 md5sums=('806811d1991de10cf430493c089ee9df')
14 build() {
15   cd "$srcdir/$realpkgname-$pkgver"
17   make -j1 utils
20 package() {
21   cd "$srcdir/$realpkgname-$pkgver"
23   mkdir -p "$pkgdir/usr/share/licenses/$pkgname"
24   cp "$srcdir/$realpkgname-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname"
26   make DESTDIR="$pkgdir/" install_lib install_utils
29 # vim:set ts=2 sw=2 et: