[arch-commits] Commit in r8168/trunk (PKGBUILD r8168.install)
Tobias Powalowski
tpowa at archlinux.org
Mon Apr 13 06:54:40 UTC 2015
Date: Monday, April 13, 2015 @ 08:54:39
Author: tpowa
Revision: 131271
bump for linux 4.0
Modified:
r8168/trunk/PKGBUILD
r8168/trunk/r8168.install
---------------+
PKGBUILD | 10 +++++-----
r8168.install | 2 +-
2 files changed, 6 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-04-13 06:53:20 UTC (rev 131270)
+++ PKGBUILD 2015-04-13 06:54:39 UTC (rev 131271)
@@ -5,7 +5,7 @@
pkgname=r8168
pkgver=8.039.00
-pkgrel=13
+pkgrel=14
pkgdesc="A kernel module for Realtek 8168 network cards"
url="http://www.realtek.com.tw"
license=("GPL")
@@ -32,14 +32,14 @@
package() {
_kernver=$(pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -)
- depends=("linux>=3.${_kernver}" "linux<3.$(expr ${_kernver} + 1)")
- KERNEL_VERSION=$(cat /usr/lib/modules/extramodules-3.$_kernver-ARCH/version)
+ depends=("linux>=4.${_kernver}" "linux<4.$(expr ${_kernver} + 1)")
+ KERNEL_VERSION=$(cat /usr/lib/modules/extramodules-4.$_kernver-ARCH/version)
msg "Kernel = $KERNEL_VERSION"
cd "$pkgname-$pkgver"
- install -Dm644 src/$pkgname.ko "$pkgdir/usr/lib/modules/extramodules-3.$_kernver-ARCH/$pkgname.ko"
+ install -Dm644 src/$pkgname.ko "$pkgdir/usr/lib/modules/extramodules-4.$_kernver-ARCH/$pkgname.ko"
find "$pkgdir" -name '*.ko' -exec gzip -9 {} +
- sed -i "s|extramodules-.*-ARCH|extramodules-3.$_kernver-ARCH|" "$startdir/$pkgname.install"
+ sed -i "s|extramodules-.*-ARCH|extramodules-4.$_kernver-ARCH|" "$startdir/$pkgname.install"
}
Modified: r8168.install
===================================================================
--- r8168.install 2015-04-13 06:53:20 UTC (rev 131270)
+++ r8168.install 2015-04-13 06:54:39 UTC (rev 131271)
@@ -1,5 +1,5 @@
rebuild_module_dependencies() {
- EXTRAMODULES='extramodules-3.19-ARCH'
+ EXTRAMODULES='extramodules-4.0-ARCH'
depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
}
More information about the arch-commits
mailing list