summaryrefslogtreecommitdiff
path: root/community/aiccu/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
committerroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
commit7a65a910b77ad191d69881098c47f9b0c852d92e (patch)
tree9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/aiccu/PKGBUILD
parent60da6abff6c9577a783d72865f11de7a585e912e (diff)
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/aiccu/PKGBUILD')
-rw-r--r--community/aiccu/PKGBUILD52
1 files changed, 52 insertions, 0 deletions
diff --git a/community/aiccu/PKGBUILD b/community/aiccu/PKGBUILD
new file mode 100644
index 000000000..989bd574f
--- /dev/null
+++ b/community/aiccu/PKGBUILD
@@ -0,0 +1,52 @@
+# $Id: PKGBUILD 92564 2013-06-08 18:07:25Z seblu $
+# Maintainer: Sébastien Luttringer
+
+pkgname=aiccu
+pkgver=20070115
+pkgrel=4
+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'
+ '02-allow-tunnels.patch'
+ '03-no-quiet-gcc.patch'
+ '04-skip-strip.patch'
+ '05-spelling-error.patch'
+ '06-setup-script.patch')
+md5sums=('c9bcc83644ed788e22a7c3f3d4021350'
+ '891b0fa527c1b847ce803dac047cf80d'
+ 'b9b2c0e7186f3f96366caaa39252dccc'
+ 'b38db1d95760cd9687330b7db5f4ea1d'
+ '6dfa2df27bb4859c7511bfea91337925'
+ '21a37c376ebfcf787c0e7ee8552053ac'
+ '98e73756609f4e09c45c4e5139fd5aed')
+
+prepare() {
+ cd $pkgname
+ for _p in "$srcdir"/*.patch; do
+ patch -p1 -i "$_p"
+ done
+}
+
+build() {
+ cd $pkgname
+ [[ $LDFLAGS ]] && LDFLAGS="$LDFLAGS,--no-as-needed"
+ make
+}
+
+package() {
+ install -Dm644 aiccu.service "$pkgdir/usr/lib/systemd/system/aiccu.service"
+ cd $pkgname
+ install -Dm755 unix-console/aiccu "$pkgdir/usr/bin/aiccu"
+ install -Dm640 doc/aiccu.conf "$pkgdir/etc/aiccu.conf"
+ install -Dm644 doc/aiccu.1 "$pkgdir/usr/share/man/man1/aiccu.1"
+ install -Dm644 doc/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ install -dm755 "$pkgdir/usr/share/doc/$pkgname"
+ install -m644 doc/{README,HOWTO,changelog} "$pkgdir/usr/share/doc/$pkgname"
+}
+
+# vim:set ts=2 sw=2 et: