summaryrefslogtreecommitdiff
path: root/community/apg/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/apg/PKGBUILD')
-rw-r--r--community/apg/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/community/apg/PKGBUILD b/community/apg/PKGBUILD
new file mode 100644
index 000000000..9af58f37d
--- /dev/null
+++ b/community/apg/PKGBUILD
@@ -0,0 +1,26 @@
+# $Id: PKGBUILD 7436 2010-01-06 23:28:11Z dgriffiths $
+# Maintainer: eric <eric@archlinux.org>
+# Contributor: Manolis Tzanidakis
+
+pkgname=apg
+pkgver=2.2.3
+pkgrel=2
+pkgdesc="Automated Password Generator."
+arch=(i686 x86_64)
+url="http://www.adel.nursat.kz/apg/index.shtml"
+license=('custom')
+depends=('glibc')
+source=(http://www.adel.nursat.kz/apg/download/$pkgname-$pkgver.tar.gz)
+md5sums=('3b3fc4f11e90635519fe627c1137c9ac')
+
+build() {
+ cd $startdir/src/$pkgname-$pkgver
+ /bin/sed -i 's:^#\(CS_LIBS = -lnsl\)$:\1:' Makefile
+ /usr/bin/make || return 1
+ for i in apg apgbfm; do
+ /bin/install -D -m755 $i $startdir/pkg/usr/bin/$i
+ /bin/install -D -m644 doc/man/$i.1 $startdir/pkg/usr/share/man/man1/$i.1
+ done
+ install -D -m 644 COPYING $startdir/pkg/usr/share/licenses/$pkgname/COPYING
+}
+# vim: ts=2: ft=sh