1 # This is an example PKGBUILD file. Use this as a start to creating your own,
2 # and remove these comments. For more information, see 'man PKGBUILD'.
3 # NOTE: Please fill out the license field for your package! If it is unknown,
4 # then please put 'unknown'.
6 # Maintainer: Alex Merry <dev@randomguy3.me.uk>
10 pkgdesc="Monitors for IP address conflicts"
12 url="http://ipwatchd.sourceforge.net/"
14 depends=(libpcap libnet libnotify)
15 backup=("etc/conf.d/ipwatchd")
16 source=($pkgname-$pkgver.tar.gz ipwatchd.conf ipwatchd)
19 cd "$srcdir/$pkgname-$pkgver/src"
25 cd "$srcdir/$pkgname-$pkgver/src"
27 install -d -m755 "$pkgdir/etc/init.d"
28 make DESTDIR="$pkgdir/" install
29 rm -rf "$pkgdir/etc/init.d"
32 install -d -m755 "$pkgdir/etc/rc.d"
33 install -d -m755 "$pkgdir/etc/conf.d"
34 install -m755 ipwatchd "$pkgdir/etc/rc.d/"
35 install -m755 ipwatchd.conf "$pkgdir/etc/conf.d/ipwatchd"
38 # vim:set ts=2 sw=2 et:
39 md5sums=('8485c98d7539b2f8b5bad370d523fdc3'
40 'd8f95e61835da11a2fa2ba7901c3c87d'
41 '7e31bf788a6445a722e8f4f3fa87e206')