[arch-commits] Commit in r8168/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Fri Oct 11 19:19:37 UTC 2019
Date: Friday, October 11, 2019 @ 19:19:36
Author: heftig
Revision: 515102
8.047.04-6: kernel 5.3.6.arch1-1; removal of extramodules-ARCH
Modified:
r8168/trunk/PKGBUILD
----------+
PKGBUILD | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-11 19:19:35 UTC (rev 515101)
+++ PKGBUILD 2019-10-11 19:19:36 UTC (rev 515102)
@@ -4,7 +4,7 @@
pkgname=r8168
pkgver=8.047.04
-pkgrel=5
+pkgrel=6
pkgdesc="A kernel module for Realtek 8168 network cards"
url="http://www.realtek.com.tw"
license=("GPL")
@@ -15,7 +15,7 @@
sha256sums=('4a201c7691b66e47f19172367c70a14b8b38d600f0739719c57dba9c0cf3f17a')
build() {
- KERNEL_VERSION=$(</usr/lib/modules/extramodules-ARCH/version)
+ local KERNEL_VERSION=$(</usr/src/linux/version)
msg2 "Kernel = $KERNEL_VERSION"
cd "$pkgname-$pkgver"
@@ -28,8 +28,9 @@
}
package() {
+ local extradir=/usr/lib/modules/$(</usr/src/linux/version)/extramodules
cd "$pkgname-$pkgver"
- install -Dt "$pkgdir/usr/lib/modules/extramodules-ARCH" -m644 src/*.ko
+ install -Dt "$pkgdir$extradir" -m644 src/*.ko
find "$pkgdir" -name '*.ko' -exec xz {} +
echo "blacklist r8169" | \
More information about the arch-commits
mailing list