diff options
author | M0Rf30 | 2019-05-26 19:09:42 +0200 |
---|---|---|
committer | M0Rf30 | 2019-05-26 19:09:42 +0200 |
commit | a0bc6c360199fd74b2cd20bc0d0dabdcc8834661 (patch) | |
tree | d0656f37ec70b5ec797b3ea4a7b3153515a76af6 | |
parent | 1502bc2fbe08d9dc52e04b8faa3d5af4e1a5c4a2 (diff) | |
download | aur-a0bc6c360199fd74b2cd20bc0d0dabdcc8834661.tar.gz |
ndpi: 2.8
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 25 |
2 files changed, 17 insertions, 16 deletions
@@ -1,7 +1,7 @@ pkgbase = ndpi pkgdesc = Open and Extensible GPLv3 Deep Packet Inspection Library - pkgver = 2.6 - pkgrel = 2 + pkgver = 2.8 + pkgrel = 1 url = http://www.ntop.org/products/ndpi/ arch = i686 arch = x86_64 @@ -9,8 +9,8 @@ pkgbase = ndpi conflicts = ndpi-svn options = staticlibs options = !strip - source = https://github.com/ntop/nDPI/archive/2.6.tar.gz - md5sums = 1602d7921ba2e6619e97fa2038f82a52 + source = https://github.com/ntop/nDPI/archive/2.8.tar.gz + md5sums = 99721d8ecb9b8e487047a7777df86403 pkgname = ndpi @@ -1,8 +1,8 @@ # Maintainer: robertfoster pkgname=ndpi -pkgver=2.6 -pkgrel=2 +pkgver=2.8 +pkgrel=1 pkgdesc="Open and Extensible GPLv3 Deep Packet Inspection Library" arch=('i686' 'x86_64') url="http://www.ntop.org/products/ndpi/" @@ -12,18 +12,19 @@ options=('staticlibs' '!strip') 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 - make + 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 + make } package() { - cd ${srcdir}/nDPI-$pkgver - make DESTDIR="${pkgdir}" install + cd ${srcdir}/nDPI-$pkgver + make DESTDIR="${pkgdir}" install + ln -sr "/usr/include/$pkgname" "$pkgdir/usr/include/lib$pkgname" } -md5sums=('1602d7921ba2e6619e97fa2038f82a52') +md5sums=('99721d8ecb9b8e487047a7777df86403') |