# Maintainer: Julian Brost pkgname=mkpasswd pkgver=5.4.2 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=('d928b981dc949a2ea1d0512d20da74707953369f889a88d8f84f1a4b05b822d2') build() { cd "${srcdir}/whois-${pkgver}" make prefix=/usr CFLAGS="$CFLAGS $CPPFLAGS" mkpasswd } package() { cd "${srcdir}/whois-${pkgver}" make prefix=/usr BASEDIR="${pkgdir}" install-mkpasswd }