summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: be605fba6fd6d349174ae40af8e258d5e1014d8c (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
# Maintainer: Viaken <viaken@gmail.com>
pkgname=passwdqc-utils
realpkgname=passwdqc
pkgver=1.3.1
pkgrel=1
pkgdesc="pwqcheck (password strength checker) and pwqgen (random passphrase generator) from passwdqc"
arch=('any')
url="http://www.openwall.com/passwdqc/"
license=('BSD' 'custom:BSD Revised')
optdepends=('pam_passwdqc: Enforce password strength rules')
source=(http://www.openwall.com/passwdqc/$realpkgname-$pkgver.tar.gz)
md5sums=('3878b57bcd3fdbcf3d4b362dbc6228b9')

build() {
  cd "$srcdir/$realpkgname-$pkgver"

  make -j1 utils
}

package() {
  cd "$srcdir/$realpkgname-$pkgver"

  mkdir -p "$pkgdir/usr/share/licenses/$pkgname"
  cp "$srcdir/$realpkgname-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname"

  make SHARED_LIBDIR="/usr/lib" DESTDIR="$pkgdir/" install_lib install_utils
}

# vim:set ts=2 sw=2 et: