void-packages/srcpkgs/apg/template

23 lines
711 B
Bash

# Template file for 'apg'
pkgname=apg
version=2.2.3
revision=4
short_desc="Automated Password Generator"
# Homepage gives NXDOMAIN. This URL is a copy on archive.org (shown as HTML source!)
homepage="http://web.archive.org/web/20140714024048/http://www.adel.nursat.kz/apg/"
license="BSD"
maintainer="Juan RP <xtraeme@voidlinux.org>"
distfiles="http://web.archive.org/web/20140709074522/http://www.adel.nursat.kz/apg/download/apg-${version}.tar.gz"
checksum=69c9facde63958ad0a7630055f34d753901733d55ee759d08845a4eda2ba7dba
do_build() {
make CC="$CC" FLAGS="$CFLAGS" LIBM="-lm $LDFLAGS" ${makejobs}
}
do_install() {
vbin apg
vbin apgbfm
vman doc/man/apg.1
vman doc/man/apgbfm.1
vlicense COPYING LICENSE
}