updated on Sat Jan 14 00:11:12 UTC 2012
[aur-mirror.git] / netkit-rwho / PKGBUILD
blob2527873853830b625ff1cc73515dc1fc9b5d54d5
1 # Contributor: Thereidos <admin@therek.net>
3 pkgname=netkit-rwho
4 pkgver=0.17
5 pkgrel=1
6 pkgdesc="Remote who"
7 depends=('glibc')
8 url="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/"
9 source=(ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/$pkgname-$pkgver.tar.gz $pkgname-$pkgver.patch rwhod.rc)
10 md5sums=('0f71620d45d472f89134ba0d74242e75' '06e5aff76e509167bc8ce7399ee3a483' \
11         '0c38c3c52ea9f2709f350fb9c29c82c6')
13 build() {
14   cd $startdir/src/$pkgname-$pkgver
15   patch -Np1 -i ../$pkgname-$pkgver.patch
16   ./configure --prefix=/usr --installroot=$startdir/pkg
17   make || return 1
18   mkdir -p $startdir/pkg/usr/{bin,sbin,man/man1,man/man8} $startdir/pkg/etc/rc.d
19   make install
20   mkdir -p $startdir/pkg/var/spool/rwho
21   install -m755 $startdir/src/rwhod.rc $startdir/pkg/etc/rc.d/rwhod
24 # end of file #