diff options
Diffstat (limited to 'apg/Pkgfile')
-rw-r--r-- | apg/Pkgfile | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/apg/Pkgfile b/apg/Pkgfile new file mode 100644 index 0000000..7accfff --- /dev/null +++ b/apg/Pkgfile @@ -0,0 +1,21 @@ +# Description: Générateur de mot de passe automatisé. +# URL: http://www.adel.nursat.kz/apg/index.shtml +# Maintainer: http://www.adel.nursat.kz/ +# Packager: piernov <piernov@piernov.org> +# Depends on: +# Run on: + +name=apg +version=2.2.3 +release=1 +source=(http://www.adel.nursat.kz/apg/download/$name-$version.tar.gz) + +build() { + cd $name-$version + sed -i 's:^#\(CS_LIBS = -lnsl\)$:\1:' Makefile + make + for i in apg apgbfm; do + install -D -m755 $i $PKG/usr/bin/$i + install -D -m644 doc/man/$i.1 $PKG/usr/share/man/man1/$i.1 + done +} |