diff options
author | root <root@rshg054.dnsready.net> | 2013-02-10 01:12:52 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-02-10 01:12:52 -0800 |
commit | 1bb2648cde916ac27d3dd75d7b64a4ddc89787b7 (patch) | |
tree | 016bfa1969323404c37dbef29cfc7242a5a8e9f3 /community/aiccu/PKGBUILD | |
parent | e9c244cac8e5dc1c59c7e8b7bc885fef04224b70 (diff) |
Sun Feb 10 01:12:35 PST 2013
Diffstat (limited to 'community/aiccu/PKGBUILD')
-rw-r--r-- | community/aiccu/PKGBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/community/aiccu/PKGBUILD b/community/aiccu/PKGBUILD new file mode 100644 index 000000000..062922dda --- /dev/null +++ b/community/aiccu/PKGBUILD @@ -0,0 +1,40 @@ +# $Id: PKGBUILD 84051 2013-02-09 13:54:03Z seblu $ +# Maintainer: Sébastien Luttringer + +pkgname=aiccu +pkgver=20070115 +pkgrel=1 +pkgdesc='SixXS Automatic IPv6 Connectivity Client Utility' +arch=('i686' 'x86_64') +url='http://www.sixxs.net/tools/aiccu/' +license=('custom') +depends=('gnutls' 'iproute2') +backup=('etc/aiccu.conf') +source=("http://www.sixxs.net/archive/sixxs/aiccu/unix/${pkgname}_${pkgver}.tar.gz" + 'aiccu.service') +md5sums=('c9bcc83644ed788e22a7c3f3d4021350' + 'e038c9d7882e6e603d87962bac7a0f2a') + +build() { + cd $pkgname + [[ $LDFLAGS ]] && LDFLAGS="$LDFLAGS,--no-as-needed" + make +} + +package() { + cd $pkgname + make DESTDIR="$pkgdir" install + # default config + install -Dm640 doc/aiccu.conf "$pkgdir/etc/aiccu.conf" + # license + install -Dm644 doc/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + # doc + install -dm755 "$pkgdir/usr/share/doc/$pkgname" + install -m644 doc/{README,HOWTO,changelog} "$pkgdir/usr/share/doc/$pkgname/" + install -Dm644 doc/$pkgname.1 "$pkgdir/usr/share/man/man1/$pkgname.1" + # systemd + install -Dm644 "$srcdir/aiccu.service" "$pkgdir/usr/lib/systemd/system/aiccu.service" + rm -r "$pkgdir/etc/init.d" +} + +# vim:set ts=2 sw=2 et: |