1 # $Id: PKGBUILD 9322 2008-08-17 06:14:57Z allan $
2 # Maintainer: simo <simo@archlinux.org>
6 pkgdesc="A modern PH client and API library for accessing PH servers"
8 url="http://www.feep.net/nph/"
10 depends=('readline' 'termcap-compat')
11 source=(ftp://ftp.feep.net/pub/software/nph/$pkgname-$pkgver.tar.gz)
12 md5sums=('cf37d27d3ddd411948583766880a637a')
15 cd $startdir/src/$pkgname-$pkgver
16 ./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man
19 # post-install is broke, n/a to packaging, and doesn't honor DESTDIR
20 make DESTDIR=$startdir/pkg install-recurse
21 install -D -m644 nphrc $startdir/pkg/etc/nphrc
23 #take care of the license
24 install -D -m444 COPYRIGHT $startdir/pkg/usr/share/licenses/$pkgname/COPYRIGHT