diff options
Diffstat (limited to 'pcr/babeld/PKGBUILD')
-rw-r--r-- | pcr/babeld/PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pcr/babeld/PKGBUILD b/pcr/babeld/PKGBUILD new file mode 100644 index 000000000..6794b3aca --- /dev/null +++ b/pcr/babeld/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer (AUR): Yann Lopez <arch at lonewulf dot net> +# Maintainer (Parabola): fauno <fauno@parabola.nu> +pkgname=babeld +pkgver=1.3.5 +pkgrel=1 +pkgdesc="Loop-free distance-vector routing protocol" +arch=(i686 x86_64 mips64el) +url="http://www.pps.jussieu.fr/~jch/software/babel/" +license=('custom') +depends=(glibc) +source=(http://www.pps.jussieu.fr/~jch/software/files/$pkgname-$pkgver.tar.gz{,.asc}) +install=babeld.install + +build() { + cd "$srcdir/$pkgname-$pkgver" + + sed -e "s,/man/,/share&,g" -i Makefile + + make PREFIX=/usr CFLAGS="$CFLAGS" +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make PREFIX=/usr TARGET=$pkgdir install + + gzip -f $pkgdir/usr/share/man/man8/$pkgname.8 + + install -Dm 644 LICENCE $pkgdir/usr/share/licenses/$pkgname/LICENCE +} +md5sums=('55f3df2429f4cf7816fce312591ba488' + 'SKIP') |