summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorWilliam Gathoye2020-02-16 19:24:57 +0100
committerWilliam Gathoye2020-02-16 19:24:57 +0100
commite954da6f8bb8d31b4530420eabda20e46ba80d1a (patch)
treeee46bacb7b7f6f78447c24f5e9fa5912f59ef48a /PKGBUILD
parent4c0e0f23a120d602381b96a0d19aa03e17c1c5c9 (diff)
downloadaur-e954da6f8bb8d31b4530420eabda20e46ba80d1a.tar.gz
Fix DKMS package build process
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 0e089ca994b..0f93926e811 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=asix-dkms
pkgver=4.23.0
-pkgrel=3
+pkgrel=4
pkgdesc="A kernel module for ASIX AX88760 AX88772 AX88772A AX88772B AX88772C AX88178 USB 2.0 network adapters"
arch=('i686' 'x86_64')
@@ -38,7 +38,8 @@ prepare() {
# Use a DKMS build against the right kernel release
sed -i "${srcdir}/${_filename}/Makefile" \
- -e 's/^KDIR.*/KDIR = \/lib\/modules\/$(KERNELRELEASE)\/build/g'
+ -e 's/^KDIR.*/KDIR = \/lib\/modules\/$(KERNELRELEASE)\/build/g' \
+ -e 's/SUBDIRS/M/g'
}
package() {