PKGBUILDs/alarm/babeld/PKGBUILD

27 lines
703 B
Bash

# Maintainer: Shawn Wilson <ag4ve.us@gmail.com>
pkgname=babeld
pkgver=1.3.4
pkgrel=1
pkgdesc="a loop-avoiding distance-vector routing protocol"
arch=(arm)
url="http://www.pps.univ-paris-diderot.fr/~jch/software/babel/"
license=('custom')
depends=(glibc)
source=(http://www.pps.jussieu.fr/~jch/software/files/$pkgname-$pkgver.tar.gz)
md5sums=('37be1cbcc23cd00ee47efc9157c58795')
build() {
cd "$srcdir/$pkgname-$pkgver"
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
install -d $pkgdir/usr/share/man/man8/
install -d $pkgdir/usr/bin/
install -m 755 babeld $pkgdir/usr/bin/
install -d $pkgdir/usr/share/licenses/$pkgname/
install -m 644 LICENCE $pkgdir/usr/share/licenses/$pkgname/
}