updated on Sun Jan 15 04:04:02 UTC 2012
[aur-mirror.git] / nph / PKGBUILD
blobd15b7329f6cb6df84db660ced71e38a5866402eb
1 # $Id: PKGBUILD 9322 2008-08-17 06:14:57Z allan $
2 # Maintainer: simo <simo@archlinux.org>
3 pkgname=nph
4 pkgver=1.2.3
5 pkgrel=2
6 pkgdesc="A modern PH client and API library for accessing PH servers"
7 arch=('i686' 'x86_64')
8 url="http://www.feep.net/nph/"
9 license=('custom')
10 depends=('readline' 'termcap-compat')
11 source=(ftp://ftp.feep.net/pub/software/nph/$pkgname-$pkgver.tar.gz)
12 md5sums=('cf37d27d3ddd411948583766880a637a')
14 build() {
15   cd $startdir/src/$pkgname-$pkgver
16   ./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man
17   make || return 1
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