[arch-commits] Commit in r8168-lts/repos/community-x86_64 (PKGBUILD PKGBUILD)
Massimiliano Torromeo
mtorromeo at archlinux.org
Mon Nov 25 18:05:12 UTC 2019
Date: Monday, November 25, 2019 @ 18:05:12
Author: mtorromeo
Revision: 533284
archrelease: copy trunk to community-x86_64
Added:
r8168-lts/repos/community-x86_64/PKGBUILD
(from rev 533283, r8168-lts/trunk/PKGBUILD)
Deleted:
r8168-lts/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 78 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 39 insertions(+), 39 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-11-25 18:05:06 UTC (rev 533283)
+++ PKGBUILD 2019-11-25 18:05:12 UTC (rev 533284)
@@ -1,39 +0,0 @@
-# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
-
-pkgname=r8168-lts
-pkgver=8.047.04
-pkgrel=12
-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/$pkgname-$pkgver.tar.gz)
-sha256sums=('4a201c7691b66e47f19172367c70a14b8b38d600f0739719c57dba9c0cf3f17a')
-
-build() {
- local KERNEL_VERSION=$(</usr/src/linux-lts/version)
- msg2 "Kernel = $KERNEL_VERSION"
-
- cd "r8168-$pkgver"
- # avoid using the Makefile directly -- it doesn't understand
- # any kernel but the current.
- make -C /usr/lib/modules/$KERNEL_VERSION/build \
- SUBDIRS="$PWD/src" \
- EXTRA_CFLAGS="-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN" \
- 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 noet:
Copied: r8168-lts/repos/community-x86_64/PKGBUILD (from rev 533283, r8168-lts/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-11-25 18:05:12 UTC (rev 533284)
@@ -0,0 +1,39 @@
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgname=r8168-lts
+pkgver=8.047.05
+pkgrel=1
+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=('1344bf3d8a1d01a1be8805b48940be1b946b5e694ca75bd14ed1c76fd4c3d67b')
+
+build() {
+ local KERNEL_VERSION=$(</usr/src/linux-lts/version)
+ msg2 "Kernel = $KERNEL_VERSION"
+
+ cd "r8168-$pkgver"
+ # avoid using the Makefile directly -- it doesn't understand
+ # any kernel but the current.
+ make -C /usr/lib/modules/$KERNEL_VERSION/build \
+ SUBDIRS="$PWD/src" \
+ EXTRA_CFLAGS="-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN" \
+ 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 noet:
More information about the arch-commits
mailing list