summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorKonstantin Shalygin2016-04-16 19:11:12 +0600
committerKonstantin Shalygin2016-04-16 19:11:12 +0600
commitff7c0acd43e01dc74bdeee5076f9f40204bff6a3 (patch)
treee0550c528d3ce89e693cab82def8431b99176c4e /PKGBUILD
parent594a30ae6588c5a63498faf05f568154f4286247 (diff)
downloadaur-ff7c0acd43e01dc74bdeee5076f9f40204bff6a3.tar.gz
New method of kernel versioun found.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 3cadc3727e52..38b38d389bff 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Contributor: Shalygin Konstantin <k0ste@cn.ru>
pkgname='ipt_ndpi'
-pkgver=1.2_1.7.0.netfilter.199.7619ce8
+pkgver=1.2_1.7.0.netfilter.202.c20e93d
pkgrel=1
pkgdesc='nDPI as netfilter extension'
arch=('any')
@@ -13,7 +13,7 @@ makedepends=('git' 'libtool' 'gcc' 'gzip' 'gawk' 'sed')
source=("${pkgname}::git+https://github.com/vel21ripn/nDPI")
sha256sums=('SKIP')
install="${pkgname}.install"
-_kernver="/usr/lib/modules/`pacman -Qe linux | awk '{ print $2 }'`-ARCH"
+_kernver="`pacman -Ql linux| awk '/(\/modules\/)([0-9.-])+-ARCH\/$/ {print $2}'`"
pkgver() {
cd "${srcdir}/${pkgname}"