Browse Source

[community-testing] -> [community] 'r8168-8.047.02-14' move

master
artoo 1 month ago
parent
commit
3eca97da8a
2 changed files with 1 additions and 38 deletions
  1. 0
    37
      repos/community-testing-x86_64/PKGBUILD
  2. 1
    1
      repos/community-x86_64/PKGBUILD

+ 0
- 37
repos/community-testing-x86_64/PKGBUILD View File

@@ -1,37 +0,0 @@
# Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
# Contributor: Bob Fanger < bfanger(at)gmail >
# Contributor: Filip <fila pruda com>, Det < nimetonmaili(at)gmail >

pkgname=r8168
pkgver=8.047.02
pkgrel=14
pkgdesc="A kernel module for Realtek 8168 network cards"
url="http://www.realtek.com.tw"
license=("GPL")
arch=('x86_64')
depends=('glibc' 'linux')
makedepends=('linux-headers')
source=(https://github.com/mtorromeo/r8168/archive/$pkgver/$pkgname-$pkgver.tar.gz)
sha256sums=('29a67eedf1d84a3eae60aeb8bbd843b1e65e104a45a3e2932bd015aab4ebd1eb')

build() {
KERNEL_VERSION=$(</usr/lib/modules/extramodules-ARTIX/version)
msg2 "Kernel = $KERNEL_VERSION"

cd "$pkgname-$pkgver"
# avoid using the Makefile directly -- it doesn't understand
# any kernel but the current.
make -C /usr/lib/modules/$KERNEL_VERSION/build \
SUBDIRS="$srcdir/$pkgname-$pkgver/src" \
EXTRA_CFLAGS="-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN" \
modules
}

package() {
cd "$pkgname-$pkgver"
install -Dt "$pkgdir/usr/lib/modules/extramodules-ARTIX" -m644 src/*.ko
find "$pkgdir" -name '*.ko' -exec xz {} +

echo "blacklist r8169" | \
install -Dm644 /dev/stdin "$pkgdir/usr/lib/modprobe.d/r8168.conf"
}

+ 1
- 1
repos/community-x86_64/PKGBUILD View File

@@ -4,7 +4,7 @@

pkgname=r8168
pkgver=8.047.02
pkgrel=11
pkgrel=14
pkgdesc="A kernel module for Realtek 8168 network cards"
url="http://www.realtek.com.tw"
license=("GPL")

Loading…
Cancel
Save