updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / batman-adv / PKGBUILD
blob5bc3b7b01c863370de1dab0c406ccf672e421345
1 # Maintainer: Thomas Weißschuh <thomas_weissschuh@lavabit.com>
2 # Contributor: Andrea Scarpino <andrea@archlinux.org>
4 pkgname=batman-adv
5 pkgver=2011.3.0
6 pkgrel=3
7 pkgdesc="batman kernel module, (included upstream since .38)"
8 arch=('i686' 'x86_64')
9 url="http://www.open-mesh.net/"
10 license=('GPL')
11 install=('batman-adv.install')
12 source=("http://downloads.open-mesh.org/batman/releases/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.gz")
13 depends=("kernel26")
14 makedepends=("kernel26-headers")
15 sha1sums=('681bb5096b102bd30b55cb966eedf123ad1b308b')
17 build() {
18   cd "${srcdir}"/${pkgname}-${pkgver}
19   make
22 package() {
23   cd "${srcdir}"/${pkgname}-${pkgver}
24   install -D -m644 batman-adv.ko ${pkgdir}/lib/modules/$(uname -r)/updates/net/batman-adv/batman_adv.ko
25   install -D -m644 README ${pkgdir}/usr/share/doc/batman-adv/README