pkgname=r8168 pkgver=8.045.08 pkgrel=12 pkgdesc="A kernel module for Realtek 8168 network cards" url="http://www.realtek.com.tw" license=("GPL") arch=('x86_64') depends=('glibc' "linux=4.18.5") makedepends=("linux-headers=4.18.5") _extramodules=extramodules-CHAKRA source=("https://github.com/mtorromeo/r8168/archive/$pkgver/$pkgname-$pkgver.tar.gz" linux-4.15.patch) sha256sums=('18161cb72fc872a9aed194514f7b8fb8b255b6fa6ed3d2dd459700eaad575f31' '6434f0d1fcb08e3605a17859d3b8946c65bcf14737e223315b6468b3394c5cd7') prepare() { cd "$pkgname-$pkgver" patch -Np1 -i ../linux-4.15.patch } build() { KERNEL_VERSION=$(