diff options
author | M0Rf30 | 2020-01-22 19:53:45 +0100 |
---|---|---|
committer | M0Rf30 | 2020-01-22 19:53:45 +0100 |
commit | 73417c5a949f3e24cb13a703a798f171fb7f66a7 (patch) | |
tree | b70fb9ca9769d489362bc69830ecdf3000264a4e | |
parent | a0bc6c360199fd74b2cd20bc0d0dabdcc8834661 (diff) | |
download | aur-73417c5a949f3e24cb13a703a798f171fb7f66a7.tar.gz |
ndpi: 3.0
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 11 |
2 files changed, 7 insertions, 10 deletions
@@ -1,6 +1,6 @@ pkgbase = ndpi pkgdesc = Open and Extensible GPLv3 Deep Packet Inspection Library - pkgver = 2.8 + pkgver = 3.0 pkgrel = 1 url = http://www.ntop.org/products/ndpi/ arch = i686 @@ -9,8 +9,8 @@ pkgbase = ndpi conflicts = ndpi-svn options = staticlibs options = !strip - source = https://github.com/ntop/nDPI/archive/2.8.tar.gz - md5sums = 99721d8ecb9b8e487047a7777df86403 + source = https://github.com/ntop/nDPI/archive/3.0.tar.gz + md5sums = e1df6041ca61e78284254e183741f51d pkgname = ndpi @@ -1,7 +1,7 @@ # Maintainer: robertfoster pkgname=ndpi -pkgver=2.8 +pkgver=3.0 pkgrel=1 pkgdesc="Open and Extensible GPLv3 Deep Packet Inspection Library" arch=('i686' 'x86_64') @@ -13,18 +13,15 @@ source=("https://github.com/ntop/nDPI/archive/$pkgver.tar.gz") build() { cd ${srcdir}/nDPI-$pkgver - # Remove hardcoded path - sed -i "s|\/usr\/local|\/usr\/|g" src/lib/Makefile.in example/Makefile.in - sed -i "s|libdata|lib|g" Makefile.am ./autogen.sh - ./configure --prefix=/usr --with-pic --includedir=/usr/include --libdir=/usr/lib + ./configure --prefix=/usr --with-pic --includedir=/usr/include --libdir=/usr/lib make } package() { cd ${srcdir}/nDPI-$pkgver make DESTDIR="${pkgdir}" install - ln -sr "/usr/include/$pkgname" "$pkgdir/usr/include/lib$pkgname" + rm -rf "${pkgdir}/usr/sbin" } -md5sums=('99721d8ecb9b8e487047a7777df86403') +md5sums=('e1df6041ca61e78284254e183741f51d') |