updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / npd6 / PKGBUILD
blobf24b11aedd766150a8ddb9d131a52b86670eab08
1 # Contributor: Justin Wong <justin.w.xd(at)gmail(dot)com>
2 pkgname=npd6
3 pkgver=0.4.4
4 pkgrel=1
5 pkgdesc='A Linux daemon to provide a proxy service for IPv6 Neighbor Solcitations received by a gateway routing device.'
6 arch=('i686' 'x86_64')
7 license=('GPL3')
8 url='http://code.google.com/p/npd6/'
9 source=("http://npd6.googlecode.com/files/${pkgname}-${pkgver}.tar.gz"
10                 "npd6")
11 install=npd6.install
12 md5sums=('de297154d41d68b39d6ac506c660c048'
13          '63986efc32bc9897356fcfb936fe5cf6')
14 build() {
15   cd ${srcdir}/${pkgname}-${pkgver}
16   make || return 1
19 package() {
20   cd ${srcdir}
21   install -D -m 755 npd6 ${pkgdir}/etc/rc.d/npd6
22   cd ${pkgname}-${pkgver}
23   install -D -m 755 npd6 ${pkgdir}/usr/bin/npd6
24   install -D -m 644 etc/npd6.conf ${pkgdir}/etc/npd6.conf.sample
25   install -D -m 644 man/npd6.conf.5.gz ${pkgdir}/usr/share/man5/npd6.conf.5.gz
26   install -D -m 644 man/npd6.8.gz ${pkgdir}/usr/share/man8/npd6.8.gz