blob: 9af58f37de28f33ee969b533bdfa93080f951992 (
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
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
|