summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSpider.007 / Sjon2018-12-17 18:49:37 +0100
committerSpider.007 / Sjon2018-12-17 18:49:37 +0100
commitbba9d45724a44cf193c0b68e74354ed3cfb6e0c8 (patch)
tree4d27b5849f3adb22345b45550e5d43c794bdfad9
parent78b10b057778b503918dd5dd22b4580a402427bb (diff)
downloadaur-bba9d45724a44cf193c0b68e74354ed3cfb6e0c8.tar.gz
use new extramodules path
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD8
2 files changed, 2 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1590e71b347..18b1cd847cc 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Sat Sep 15 09:21:29 UTC 2018
+# Mon Dec 17 17:49:36 UTC 2018
pkgbase = netatop
pkgdesc = Atop network kernel module, enables network statistics in atop
pkgver = 2.0
diff --git a/PKGBUILD b/PKGBUILD
index c0e0f2fd7e3..ebdc0666ff0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -24,13 +24,7 @@ build() {
package() {
cd $srcdir/$pkgname-$pkgver
- if [[ `uname -r` =~ ^([0-9.]+)\.[0-9]+-[0-9zen]+(-.*)$ ]]
- then
- install -Dm 0744 module/netatop.ko $pkgdir/usr/lib/modules/extramodules-${BASH_REMATCH[1]}${BASH_REMATCH[2]}/netatop.ko
- else
- echo "Could not parse version `uname -r`; please report" >&2
- exit 1
- fi
+ install -Dm 0744 module/netatop.ko $pkgdir/usr/lib/modules/extramodules-ARCH/netatop.ko
install -D daemon/netatopd $pkgdir/usr/bin/netatopd