blob: c1a9ec2193dae05c64a548c9f412772ac332cf2f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>
pkgname=libnl-git
pkgver=3.7.0.r21.gcbafad9
pkgrel=1
pkgdesc="A collection of libraries providing APIs to netlink protocol based Linux kernel interfaces"
arch=('i686' 'x86_64')
url="https://www.infradead.org/~tgr/libnl/"
license=('LGPL2')
depends=('glibc')
makedepends=('git')
provides=("libnl=$pkgver")
conflicts=('libnl')
backup=('etc/libnl/classid' 'etc/libnl/pktloc')
options=('staticlibs')
source=("git+https://github.com/thom311/libnl.git")
sha256sums=('SKIP')
pkgver() {
cd "libnl"
git describe --long --tags | sed 's/^libnl//;s/\([^-]*-g\)/r\1/;s/[_-]/./g'
}
build() {
cd "libnl"
./autogen.sh
./configure \
--prefix="/usr" \
--sysconfdir="/etc"
make
}
check() {
cd "libnl"
make check
}
package() {
cd "libnl"
make DESTDIR="$pkgdir" install
}
|