diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 17 |
2 files changed, 10 insertions, 9 deletions
@@ -1,7 +1,7 @@ pkgbase = ndpi pkgdesc = Open and Extensible GPLv3 Deep Packet Inspection Library pkgver = 3.4 - pkgrel = 1 + pkgrel = 2 url = http://www.ntop.org/products/ndpi/ arch = i686 arch = x86_64 @@ -2,25 +2,26 @@ pkgname=ndpi pkgver=3.4 -pkgrel=1 +pkgrel=2 pkgdesc="Open and Extensible GPLv3 Deep Packet Inspection Library" arch=('i686' 'x86_64') url="http://www.ntop.org/products/ndpi/" license=('GPL3') conflicts=('ndpi-svn') options=() -source=("https://github.com/ntop/nDPI/archive/$pkgver.tar.gz") +source=("https://github.com/ntop/nDPI/archive/${pkgver}.tar.gz") build() { - cd ${srcdir}/nDPI-$pkgver - ./autogen.sh - ./configure --prefix=/usr --with-pic --includedir=/usr/include --libdir=/usr/lib - make + cd "${srcdir}/nDPI-${pkgver}" + unset CPPFLAGS + ./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 } md5sums=('4a2978b0d527a220ab46344444a1934c') |