summaryrefslogtreecommitdiff
path: root/community-testing/r8168-lts
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-08-05 00:04:11 +0000
committerroot <root@rshg054.dnsready.net>2012-08-05 00:04:11 +0000
commit9b4356a4ce894946739f7fff9411f62be0fbc122 (patch)
tree29999235b5b73068c5ddb4dc1239dcf7c66397fa /community-testing/r8168-lts
parentf8ac5d4703080cc87ba2fe36f68df745d3a5f62f (diff)
Sun Aug 5 00:04:11 UTC 2012
Diffstat (limited to 'community-testing/r8168-lts')
-rw-r--r--community-testing/r8168-lts/PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/community-testing/r8168-lts/PKGBUILD b/community-testing/r8168-lts/PKGBUILD
index 1278371e7..f7a332181 100644
--- a/community-testing/r8168-lts/PKGBUILD
+++ b/community-testing/r8168-lts/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 73215 2012-07-04 00:45:12Z dreisner $
+# $Id: PKGBUILD 74765 2012-08-03 18:03:24Z tpowa $
# Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
pkgname=r8168-lts
_pkgname=r8168
pkgver=8.031.00
-pkgrel=2
+pkgrel=4
pkgdesc="A kernel module for Realtek 8168 network cards for linux-lts"
url="http://www.realtek.com.tw"
license=("GPL")
@@ -17,10 +17,10 @@ md5sums=('ec1654f02e2dad930bbeb0210ddab7e5')
sha256sums=('5c617b3c08aca18d1eb24d33f77df40020eb64fb32c8e4008265e08b7ffe5779')
_extramodules=extramodules-3.0-lts
-_kernver="$(cat /usr/lib/modules/$_extramodules/version || true)"
build() {
cd "$_pkgname-$pkgver"
+ local _kernver="$(cat /usr/lib/modules/$_extramodules/version)"
make -C /usr/lib/modules/$_kernver/build \
SUBDIRS="$srcdir/$_pkgname-$pkgver/src" \
EXTRA_CFLAGS="-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN" \