mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
27 lines
803 B
Bash
27 lines
803 B
Bash
|
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
||
|
# Maintainer: eric <eric@archlinux.org>
|
||
|
# Contributor: Manolis Tzanidakis
|
||
|
|
||
|
pkgname=apg
|
||
|
pkgver=2.2.3
|
||
|
pkgrel=1
|
||
|
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/man/man1/$i.1
|
||
|
done
|
||
|
install -D -m 644 COPYING $startdir/pkg/usr/share/licenses/$pkgname/COPYING
|
||
|
}
|
||
|
# vim: ts=2: ft=sh
|