# Maintainer: Julian Brost pkgname=mkpasswd pkgver=5.2.20 pkgrel=1 pkgdesc="Tool for creating password hashes suitable for /etc/shadow" arch=('i686' 'x86_64') url="https://github.com/rfc1036/whois" license=('GPL') depends=('glibc') makedepends=('perl') source=("whois-$pkgver.tar.gz::https://github.com/rfc1036/whois/archive/v$pkgver.tar.gz") sha256sums=('1812b9c64a41d8ed70507bb1161a18a0a7b2f29ba5b442ca7828a5acb1e44c7e') build() { cd "${srcdir}/whois-${pkgver}" make prefix=/usr CFLAGS="$CFLAGS $CPPFLAGS" } package() { cd "${srcdir}/whois-${pkgver}" make prefix=/usr BASEDIR="${pkgdir}" install-mkpasswd }