mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
27 lines
675 B
Bash
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/
|
|
}
|
|
|