aboutsummaryrefslogtreecommitdiffstats
path: root/main/apg/APKBUILD
blob: d0449859f745055fe2a1628fa9cf5b396dcb2921 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=apg
pkgver=2.2.3
pkgrel=1
pkgdesc="Automated Password Generator."
url="http://www.adel.nursat.kz/apg/index.shtml"
arch="x86 x86_64"
license="custom"
subpackages="$pkgname-doc"
depends=
makedepends=""
source="http://www.adel.nursat.kz/apg/download/$pkgname-$pkgver.tar.gz"

build () 
{ 
	cd "$srcdir"/$pkgname-$pkgver
	sed -i 's:^#\(CS_LIBS = -lnsl\)$:\1:' Makefile
	make || return 1
	for i in apg apgbfm; do
		install -D -m755 $i "$pkgdir"/usr/bin/$i
		install -D -m644 doc/man/$i.1 "$pkgdir"/usr/man/man1/$i.1
	done
	install -D -m 644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
md5sums="3b3fc4f11e90635519fe627c1137c9ac  apg-2.2.3.tar.gz"