Browse Source

libmnl: add new package

tags/milky-way/v0.3
André Silva 1 year ago
parent
commit
3b0829e4e5
1 changed files with 33 additions and 0 deletions
  1. +33
    -0
      libmnl/PKGBUILD

+ 33
- 0
libmnl/PKGBUILD View File

@@ -0,0 +1,33 @@
# Maintainer (Arch): Sébastien Luttringer <seblu@archlinux.org>
# Contributor (Arch): Christian Hesse <mail@earthworm.de>
# Maintainer: André Silva <emulatorman@hyperbola.info>

pkgname=libmnl
pkgver=1.0.4
pkgrel=1.hyperbola1
pkgdesc='Minimalistic user-space library oriented to Netlink developers.'
arch=('i686' 'x86_64')
url='https://www.netfilter.org/projects/libmnl/'
license=('LGPL-2.1')
depends=('glibc')
validpgpkeys=('C09DB2063F1D7034BA6152ADAB4655A126D292E4') # Netfilter Core Team
source=("https://www.netfilter.org/projects/$pkgname/files/$pkgname-$pkgver.tar.bz2"{,.sig})
sha512sums=('e2bbfb688fe41913d53c74ba7ec95b4e88ee2c52b556b8608185f2fcbd629665423a3b37f877f84426ba257cf6040fa701539d67166b00b8e3e2dfde6831a2f9'
'SKIP')

build() {
cd $pkgname-$pkgver
./configure --prefix=/usr
make
}

package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
install -dm755 $pkgdir/lib
mv $pkgdir/usr/lib/libmnl.so.0* $pkgdir/lib
ln -sf ../../lib/libmnl.so.0 "$pkgdir/usr/lib/libmnl.so"
install -Dm644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
}

# vim:set ts=2 sw=2 et:

Loading…
Cancel
Save