diff options
author | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
commit | 7a65a910b77ad191d69881098c47f9b0c852d92e (patch) | |
tree | 9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/radvd/PKGBUILD | |
parent | 60da6abff6c9577a783d72865f11de7a585e912e (diff) |
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/radvd/PKGBUILD')
-rw-r--r-- | community/radvd/PKGBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/community/radvd/PKGBUILD b/community/radvd/PKGBUILD new file mode 100644 index 000000000..15ee454e2 --- /dev/null +++ b/community/radvd/PKGBUILD @@ -0,0 +1,42 @@ +# $Id: PKGBUILD 90532 2013-05-13 00:28:44Z seblu $ +# Maintainer: Sébastien Luttringer +# Contributor: Kaiting Chen <kaitocracy@gmail.com> +# Contributor: Mark Smith <markzzzsmith@yahoo.com.au> + +pkgname=radvd +pkgver=1.9.3 +pkgrel=2 +pkgdesc='IPv6 Router Advertisement Daemon' +url='http://www.litech.org/radvd/' +license=('custom') +depends=('glibc' 'libdaemon') +arch=('i686' 'x86_64') +backup=('etc/radvd.conf') +source=("http://www.litech.org/radvd/dist/$pkgname-$pkgver.tar.gz" + "$pkgname.service") +sha1sums=('14b025bdcec77ea7278cd8ee2a32af3f81d26f4d' + '2fdba3b0ed28c67dc1c04bfd1439fa4dece88bbc') +build() { + cd ${pkgname}-${pkgver} + ./configure \ + --prefix=/usr \ + --sbindir=/usr/bin \ + --sysconfdir=/etc \ + --with-pidfile=/run/radvd.pid \ + --mandir=/usr/share/man + make +} + +package() { + cd ${pkgname}-${pkgver} + make DESTDIR="$pkgdir" install + # default config + install -D -m 644 radvd.conf.example "$pkgdir/etc/radvd.conf" + # license + install -D -m 644 COPYRIGHT "$pkgdir/usr/share/licenses/$pkgname/COPYRIGHT" + # systemd + install -D -m 644 ../$pkgname.service \ + "$pkgdir/usr/lib/systemd/system/$pkgname.service" +} + +# vim:set ts=2 sw=2 et: |