Date: Thursday, May 16, 2019 @ 05:38:57 Author: heftig Revision: 467502
archrelease: copy trunk to community-x86_64 Added: r8168/repos/community-x86_64/PKGBUILD (from rev 467501, r8168/trunk/PKGBUILD) Deleted: r8168/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 76 +++++++++++++++++++++++++++++-------------------------------- 1 file changed, 37 insertions(+), 39 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-05-16 05:38:34 UTC (rev 467501) +++ PKGBUILD 2019-05-16 05:38:57 UTC (rev 467502) @@ -1,39 +0,0 @@ -# Maintainer: Massimiliano Torromeo <massimiliano.torro...@gmail.com> -# Contributor: Bob Fanger < bfanger(at)gmail > -# Contributor: Filip <fila pruda com>, Det < nimetonmaili(at)gmail > - -pkgname=r8168 -pkgver=8.047.01 -pkgrel=9 -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=('d298c4b52bb68b494230c219879eaf57cabe255f3475f7a792f76ad7fd83a0eb') - -build() { - KERNEL_VERSION=$(</usr/lib/modules/extramodules-ARCH/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() { - depends=("linux>=5.0" "linux<5.1") - - cd "$pkgname-$pkgver" - install -Dt "$pkgdir/usr/lib/modules/extramodules-ARCH" -m644 src/*.ko - find "$pkgdir" -name '*.ko' -exec xz {} + - - echo "blacklist r8169" | \ - install -Dm644 /dev/stdin "$pkgdir/usr/lib/modprobe.d/r8168.conf" -} Copied: r8168/repos/community-x86_64/PKGBUILD (from rev 467501, r8168/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-05-16 05:38:57 UTC (rev 467502) @@ -0,0 +1,37 @@ +# Maintainer: Massimiliano Torromeo <massimiliano.torro...@gmail.com> +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip <fila pruda com>, Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.047.01 +pkgrel=10 +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=('d298c4b52bb68b494230c219879eaf57cabe255f3475f7a792f76ad7fd83a0eb') + +build() { + KERNEL_VERSION=$(</usr/lib/modules/extramodules-ARCH/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-ARCH" -m644 src/*.ko + find "$pkgdir" -name '*.ko' -exec xz {} + + + echo "blacklist r8169" | \ + install -Dm644 /dev/stdin "$pkgdir/usr/lib/modprobe.d/r8168.conf" +}