PKGBUILDs/alarm/batctl/PKGBUILD
2012-08-25 20:56:19 +01:00

27 lines
675 B
Bash

# Maintainer: Shawn Wilson <ag4ve.us@gmail.com>
pkgname=batctl
pkgrel=1
pkgver=2012.3.0
pkgdesc="management and control tool for batman-adv"
arch=(arm)
url="http://www.open-mesh.org/projects/batman-adv"
license=('GPL')
depends=('glibc')
source=(http://downloads.open-mesh.org/batman/stable/sources/batctl/$pkgname-$pkgver.tar.gz)
md5sums=('fe9e6a3994539037b48afc5e3d31628c')
build() {
cd "$srcdir/$pkgname-$pkgver"
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
install -d $pkgdir/usr/local/share/man/man8/
install -d $pkgdir/usr/local/sbin/
install -m 0755 batctl $pkgdir/usr/local/sbin/
install -m 0644 man/batctl.8 $pkgdir/usr/local/share/man/man8/
}