summaryrefslogtreecommitdiff
path: root/social/aiccu/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <apoyosis@correo.inta.gob.ar>2012-09-14 19:23:23 -0300
committerNicolás Reynolds <apoyosis@correo.inta.gob.ar>2012-09-14 19:23:23 -0300
commitf9e0f79bdd41d822c22688513f68e30ebb4d4003 (patch)
tree943f7d1d640eb704ad9378218b63d8df0709375d /social/aiccu/PKGBUILD
parent979e8ace3c1a32e06c1f7a2c88b9c698d36dd364 (diff)
AICCU - Automatic IPv6 Connectivity Client Utility
Diffstat (limited to 'social/aiccu/PKGBUILD')
-rw-r--r--social/aiccu/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/social/aiccu/PKGBUILD b/social/aiccu/PKGBUILD
new file mode 100644
index 000000000..5fc4cb086
--- /dev/null
+++ b/social/aiccu/PKGBUILD
@@ -0,0 +1,33 @@
+pkgname=aiccu
+pkgver=20070115
+pkgrel=7
+pkgdesc="SixXS Automatic IPv6 Connectivity Client Utility - AICCU"
+arch=('i686' 'x86_64')
+url="http://www.sixxs.net/tools/aiccu/"
+license=('BSD')
+depends=('gnutls' 'iproute2')
+makedepends=('glibc' 'libgpg-error' 'libtasn1' 'libgcrypt' 'zlib')
+backup=(etc/aiccu.conf)
+source=(http://www.sixxs.net/archive/sixxs/aiccu/unix/${pkgname}_${pkgver}.tar.gz
+ aiccu.rc.d)
+md5sums=('c9bcc83644ed788e22a7c3f3d4021350'
+ '9eb63ae132d4835a822ea925c6440b04')
+
+build() {
+ cd "$srcdir/$pkgname"
+
+ sed -i 's|Installing Debian-style init.d||' Makefile
+
+ LDFLAGS="" make
+ make DESTDIR="$pkgdir" install
+}
+
+package() {
+ cd "$srcdir/$pkgname"
+
+ install -D -m600 doc/aiccu.conf "$pkgdir/etc/aiccu.conf"
+ install -D -m755 "$srcdir/aiccu.rc.d" "$pkgdir/etc/rc.d/aiccu"
+ install -D -m444 doc/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+ rm -fr "$pkgdir/etc/init.d"
+}