summaryrefslogtreecommitdiff
path: root/community/aiccu/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/aiccu/PKGBUILD')
-rw-r--r--community/aiccu/PKGBUILD24
1 files changed, 12 insertions, 12 deletions
diff --git a/community/aiccu/PKGBUILD b/community/aiccu/PKGBUILD
index 118210c38..801c28866 100644
--- a/community/aiccu/PKGBUILD
+++ b/community/aiccu/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 84114 2013-02-10 18:32:51Z seblu $
+# $Id: PKGBUILD 90477 2013-05-12 21:46:51Z seblu $
# Maintainer: Sébastien Luttringer
pkgname=aiccu
pkgver=20070115
-pkgrel=2
+pkgrel=3
pkgdesc='SixXS Automatic IPv6 Connectivity Client Utility'
arch=('i686' 'x86_64')
url='http://www.sixxs.net/tools/aiccu/'
@@ -12,40 +12,40 @@ depends=('gnutls' 'iproute2')
backup=('etc/aiccu.conf')
source=("http://www.sixxs.net/archive/sixxs/aiccu/unix/${pkgname}_${pkgver}.tar.gz"
'aiccu.service'
- '01-no-init-script.patch'
+ '01-fix-makefile.patch'
'02-allow-tunnels.patch'
'03-no-quiet-gcc.patch'
'04-skip-strip.patch'
'05-spelling-error.patch'
'06-setup-script.patch')
md5sums=('c9bcc83644ed788e22a7c3f3d4021350'
- 'e038c9d7882e6e603d87962bac7a0f2a'
- '6de05338752bfb01772dee37b1dc0454'
+ '891b0fa527c1b847ce803dac047cf80d'
+ '7c7c563ecc6d3fa64a7766de28ba1927'
'b9b2c0e7186f3f96366caaa39252dccc'
'b38db1d95760cd9687330b7db5f4ea1d'
'6dfa2df27bb4859c7511bfea91337925'
'21a37c376ebfcf787c0e7ee8552053ac'
'98e73756609f4e09c45c4e5139fd5aed')
-build() {
+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() {
cd $pkgname
- make DESTDIR="$pkgdir" install
- # default config
- install -Dm640 doc/aiccu.conf "$pkgdir/etc/aiccu.conf"
+ make DESTDIR="$pkgdir" dirsbin="/usr/bin/" install
# 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/"
+ # man
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"