Date: Friday, October 25, 2019 @ 13:19:13 Author: heftig Revision: 518869
8.047.04-8: kernel 5.3.7.arch1-2 Modified: r8168/trunk/PKGBUILD ----------+ PKGBUILD | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2019-10-25 13:19:11 UTC (rev 518868) +++ PKGBUILD 2019-10-25 13:19:13 UTC (rev 518869) @@ -4,12 +4,11 @@ pkgname=r8168 pkgver=8.047.04 -pkgrel=7 +pkgrel=8 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=('4a201c7691b66e47f19172367c70a14b8b38d600f0739719c57dba9c0cf3f17a') @@ -28,6 +27,8 @@ } package() { + depends=('glibc' 'linux') + local extradir=/usr/lib/modules/$(</usr/src/linux/version)/extramodules cd "$pkgname-$pkgver" install -Dt "$pkgdir$extradir" -m644 src/*.ko @@ -36,3 +37,5 @@ echo "blacklist r8169" | \ install -Dm644 /dev/stdin "$pkgdir/usr/lib/modprobe.d/$pkgname.conf" } + +# vim:set noet:
