diff options
author | johnnybash | 2024-02-09 20:34:47 +0100 |
---|---|---|
committer | johnnybash | 2024-02-09 20:34:47 +0100 |
commit | a0d7c489d3deb783a27364e36ea270dac1741f3e (patch) | |
tree | 3e54a50996e57d18da990f8849de4cd51cc5553d /PKGBUILD | |
parent | 4c8381e4203fcbaa75e9e0f3745b350f2204cb6a (diff) | |
download | aur-ntopng.tar.gz |
upgpkg: ntopng 6.0-2
fix compiling css
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -9,13 +9,13 @@ validpgpkeys=('EFD9413B17293AFDFE6EA6F1402A088DEDF104CB') pkgname=ntopng pkgver=6.0 _ndpiver=4.8 -pkgrel=1 +pkgrel=2 pkgdesc='The next generation version of the original ntop, a network traffic probe that shows the network usage' arch=('x86_64' 'i686') url='http://www.ntop.org/' -license=('GPL3') -depends=('redis' 'libmariadbclient' 'libpcap' 'sqlite' 'libmaxminddb' 'zeromq' 'rrdtool' 'hiredis') -makedepends=('glib2' 'automake' 'libtool' 'wget' 'curl' 'libxml2' 'npm') +license=('GPL-3.0-only') +depends=('redis' 'libmariadbclient' 'libpcap' 'sqlite' 'libmaxminddb' 'zeromq' 'rrdtool' 'hiredis' 'curl' 'json-c') +makedepends=('glib2' 'automake' 'libtool' 'wget' 'curl' 'libxml2' 'npm' 'jq') install=$pkgname.install source=("$pkgname-$pkgver.tar.gz::https://github.com/ntop/$pkgname/archive/$pkgver.tar.gz" "nDPI-$_ndpiver.tar.gz::https://github.com/ntop/nDPI/archive/$_ndpiver.tar.gz" @@ -37,8 +37,9 @@ build() { cd $srcdir/$pkgname-$pkgver ./autogen.sh ./configure --prefix=$pkgdir/usr --datadir=/usr/share - npm install - npm run build + npm install --save-dev @babel/core + jq -c '.devDependencies' package.json | jq -r -M | grep ':' | sed 's/:/@/' | sed 's|[", ^]||g' | npm install --save-dev + npm run build:dev make } |