Date: Friday, May 14, 2021 @ 14:23:02 Author: heftig Revision: 934094
archrelease: copy trunk to community-testing-x86_64 Added: r8168-lts/repos/community-testing-x86_64/PKGBUILD (from rev 934092, r8168-lts/trunk/PKGBUILD) Deleted: r8168-lts/repos/community-testing-x86_64/PKGBUILD ----------+ PKGBUILD | 70 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 35 insertions(+), 35 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-05-14 14:23:01 UTC (rev 934093) +++ PKGBUILD 2021-05-14 14:23:02 UTC (rev 934094) @@ -1,35 +0,0 @@ -# Maintainer: Massimiliano Torromeo <massimiliano.torro...@gmail.com> - -pkgname=r8168-lts -pkgver=8.048.03 -pkgrel=84 -pkgdesc="A kernel module for Realtek 8168 network cards for linux-lts" -url="http://www.realtek.com.tw" -license=("GPL") -arch=('x86_64') -makedepends=('linux-lts-headers') -source=(https://github.com/mtorromeo/r8168/archive/$pkgver/r8168-$pkgver.tar.gz) -sha256sums=('0f191c4dc2f2e1aef6789d34820305fae27690d20212f2ac12ded634eb786d8c') - -build() { - cd "r8168-$pkgver" - # avoid using the Makefile directly -- it doesn't understand - # any kernel but the current. - make -C /usr/src/linux-lts M="$PWD/src" \ - EXTRA_CFLAGS="-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN -DCONFIG_ASPM -DENABLE_S5WOL -DENABLE_EEE" \ - modules -} - -package() { - depends=('glibc' 'linux-lts') - - local extradir=/usr/lib/modules/$(</usr/src/linux-lts/version)/extramodules - cd "r8168-$pkgver" - install -Dt "$pkgdir$extradir" -m644 src/*.ko - find "$pkgdir" -name '*.ko' -exec xz {} + - - echo "blacklist r8169" | \ - install -Dm644 /dev/stdin "$pkgdir/usr/lib/modprobe.d/$pkgname.conf" -} - -# vim:set sw=0 noet: Copied: r8168-lts/repos/community-testing-x86_64/PKGBUILD (from rev 934092, r8168-lts/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-05-14 14:23:02 UTC (rev 934094) @@ -0,0 +1,35 @@ +# Maintainer: Massimiliano Torromeo <massimiliano.torro...@gmail.com> + +pkgname=r8168-lts +pkgver=8.048.03 +pkgrel=85 +pkgdesc="A kernel module for Realtek 8168 network cards for linux-lts" +url="http://www.realtek.com.tw" +license=("GPL") +arch=('x86_64') +makedepends=('linux-lts-headers') +source=(https://github.com/mtorromeo/r8168/archive/$pkgver/r8168-$pkgver.tar.gz) +sha256sums=('0f191c4dc2f2e1aef6789d34820305fae27690d20212f2ac12ded634eb786d8c') + +build() { + cd "r8168-$pkgver" + # avoid using the Makefile directly -- it doesn't understand + # any kernel but the current. + make -C /usr/src/linux-lts M="$PWD/src" \ + EXTRA_CFLAGS="-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN -DCONFIG_ASPM -DENABLE_S5WOL -DENABLE_EEE" \ + modules +} + +package() { + depends=('glibc' 'linux-lts') + + local extradir=/usr/lib/modules/$(</usr/src/linux-lts/version)/extramodules + cd "r8168-$pkgver" + install -Dt "$pkgdir$extradir" -m644 src/*.ko + find "$pkgdir" -name '*.ko' -exec xz {} + + + echo "blacklist r8169" | \ + install -Dm644 /dev/stdin "$pkgdir/usr/lib/modprobe.d/$pkgname.conf" +} + +# vim:set sw=0 noet: