summaryrefslogtreecommitdiff
path: root/community/apg/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-02-20 23:15:21 +0000
committerroot <root@rshg054.dnsready.net>2012-02-20 23:15:21 +0000
commit11484c032f8c236b2044e715a9a3b28e33f65598 (patch)
treeec2f7c7ad850a191e3ef6cf1bcb03a6468744f1c /community/apg/PKGBUILD
parent1a09ca56e4f37ac4e995c924c649ede71a5c82aa (diff)
Mon Feb 20 23:15:21 UTC 2012
Diffstat (limited to 'community/apg/PKGBUILD')
-rw-r--r--community/apg/PKGBUILD18
1 files changed, 9 insertions, 9 deletions
diff --git a/community/apg/PKGBUILD b/community/apg/PKGBUILD
index 9af58f37d..e5a6a2f4e 100644
--- a/community/apg/PKGBUILD
+++ b/community/apg/PKGBUILD
@@ -1,10 +1,11 @@
-# $Id: PKGBUILD 7436 2010-01-06 23:28:11Z dgriffiths $
+# $Id: PKGBUILD 65041 2012-02-20 02:16:10Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: eric <eric@archlinux.org>
# Contributor: Manolis Tzanidakis
pkgname=apg
pkgver=2.2.3
-pkgrel=2
+pkgrel=3
pkgdesc="Automated Password Generator."
arch=(i686 x86_64)
url="http://www.adel.nursat.kz/apg/index.shtml"
@@ -14,13 +15,12 @@ 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
+ cd $srcdir/$pkgname-$pkgver
+ sed -i 's:^#\(CS_LIBS = -lnsl\)$:\1:' Makefile
+ make
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
+ install -D -m755 $i $pkgdir/usr/bin/$i
+ install -D -m644 doc/man/$i.1 $pkgdir/usr/share/man/man1/$i.1
done
- install -D -m 644 COPYING $startdir/pkg/usr/share/licenses/$pkgname/COPYING
+ install -D -m 644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
}
-# vim: ts=2: ft=sh