summaryrefslogtreecommitdiff
path: root/community/apg/PKGBUILD
blob: 707c5a6af0fd0ac48867490e580c389cc8eb35dc (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 'mips64el')
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