# Maintainer: Márcio Silva # based of libnl _pkgname=libnl pkgname=libnl-static pkgver=3.2.27 pkgrel=1 pkgdesc="Library for applications dealing with netlink sockets (static libraries only)" arch=(i686 x86_64 armv7h) url="http://www.infradead.org/~tgr/libnl/" license=(GPL) depends=(libnl) options=('staticlibs') source=(https://github.com/thom311/libnl/releases/download/libnl${pkgver//./_}/${_pkgname}-${pkgver}.tar.gz{,.sig}) sha256sums=('4bbbf92b3c78a90f423cf96260bf419a28b75db8cced47051217a56795f58ec6' 'SKIP') validpgpkeys=('49EA7C670E0850E7419514F629C2366E4DFC5728') # Thomas Haller build() { cd "$srcdir"/$_pkgname-$pkgver ./configure \ --prefix=/usr \ --enable-static make } package() { cd "$srcdir"/$_pkgname-$pkgver make DESTDIR="$pkgdir" install # remove conflicting files rm -vr ${pkgdir}/usr/{bin,etc,include,lib/pkgconfig,share} rm -v ${pkgdir}/usr/lib/{,$_pkgname/cli/{cls,qdisc}/}*.so* }