mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-16 23:57:11 +00:00
create buildpkg for batctl 2012.3.0
This commit is contained in:
parent
2bfb22af67
commit
2cb6e68397
1 changed files with 27 additions and 0 deletions
27
alarm/batctl/PKGBUILD
Normal file
27
alarm/batctl/PKGBUILD
Normal file
|
@ -0,0 +1,27 @@
|
|||
# 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/
|
||||
}
|
||||
|
Loading…
Reference in a new issue