1 pkgname=netkit-rwho-debian
8 conflicts=('netkit-rwho')
9 url="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/"
11 backup=(etc/conf.d/rwhod)
12 source=(http://ftp.de.debian.org/debian/pool/main/n/netkit-rwho/netkit-rwho_0.17.orig.tar.gz http://ftp.de.debian.org/debian/pool/main/n/netkit-rwho/netkit-rwho_$pkgver-12.diff.gz rwhod.rc rwhod.conf)
13 md5sums=('0f71620d45d472f89134ba0d74242e75' 'ccbb57e61d8594aa37c33cc906071ce1' '5ab5042d60e508658e0a676d13556acb' 'd052293ac9c851ba8093338c530b349e')
16 cd $srcdir/netkit-rwho-$pkgver
17 patch -Np1 -i ../netkit-rwho_$pkgver-12.diff
18 ./configure --prefix=/usr --installroot=$pkgdir
20 mkdir -p $pkgdir/usr/{bin,sbin,man/man1,man/man8} $pkgdir/etc/rc.d
21 make install || return 1
22 mkdir -p $pkgdir/var/spool/rwho
23 install -m755 $srcdir/rwhod.rc $pkgdir/etc/rc.d/rwhod || return 1
24 install -m644 -D $srcdir/rwhod.conf $pkgdir/etc/conf.d/rwhod || return 1