summaryrefslogtreecommitdiffstats
path: root/apg/Pkgfile
blob: 7accfff21f3e094e005562aeade631df11cec9ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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
}