updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / aiccu / PKGBUILD
blob1c426712a5c6af0772a79a0201b7c5a5d8b5f00e
1 pkgname=aiccu
2 pkgver=20070115
3 pkgrel=6
4 pkgdesc="SixXS Automatic IPv6 Connectivity Client Utility - AICCU"
5 arch=('i686' 'x86_64')
6 url="http://www.sixxs.net/tools/aiccu/"
7 license=('BSD')
8 depends=('gnutls' 'iproute2')
9 makedepends=('glibc' 'libgpg-error' 'libtasn1' 'libgcrypt' 'zlib')
10 backup=(etc/aiccu.conf)
11 source=(http://www.sixxs.net/archive/sixxs/aiccu/unix/${pkgname}_${pkgver}.tar.gz aiccu.rc.d)
12 md5sums=('c9bcc83644ed788e22a7c3f3d4021350'
13          '9eb63ae132d4835a822ea925c6440b04')
15 build() {
16   cd $srcdir/$pkgname
18   sed -i 's|Installing Debian-style init.d||' Makefile
20   LDFLAGS="" make
21   make DESTDIR=$pkgdir install
23   install -D -m600 doc/aiccu.conf $pkgdir/etc/aiccu.conf
24   install -D -m755 $startdir/aiccu.rc.d $pkgdir/etc/rc.d/aiccu
25   install -D -m444 doc/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
27   rm -fr $pkgdir/etc/init.d