[arch-commits] Commit in r8168-lts/repos/community-x86_64 (PKGBUILD PKGBUILD)
Massimiliano Torromeo
mtorromeo at gemini.archlinux.org
Thu May 26 15:07:33 UTC 2022
Date: Thursday, May 26, 2022 @ 15:07:32
Author: mtorromeo
Revision: 1210577
archrelease: copy trunk to community-x86_64
Added:
r8168-lts/repos/community-x86_64/PKGBUILD
(from rev 1210576, r8168-lts/trunk/PKGBUILD)
Deleted:
r8168-lts/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 86 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 43 insertions(+), 43 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-05-26 15:07:27 UTC (rev 1210576)
+++ PKGBUILD 2022-05-26 15:07:32 UTC (rev 1210577)
@@ -1,43 +0,0 @@
-# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
-
-pkgname=r8168-lts
-pkgver=8.050.00
-pkgrel=9
-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
- https://github.com/mtorromeo/r8168/releases/download/$pkgver/r8168-$pkgver.tar.gz.asc)
-sha256sums=('15b06890230d7c7b92635d981a6f07c4562b0b3eeb55f43b127bdfbb50dda5e1'
- 'SKIP')
-validpgpkeys=('0CADAACF70F64C654E131B3111675C743429DDEF')
-
-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" \
- ENABLE_USE_FIRMWARE_FILE=y \
- CONFIG_R8168_NAPI=y \
- CONFIG_R8168_VLAN=y \
- CONFIG_ASPM=y \
- ENABLE_S5WOL=y \
- ENABLE_EEE=y \
- 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-x86_64/PKGBUILD (from rev 1210576, r8168-lts/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-05-26 15:07:32 UTC (rev 1210577)
@@ -0,0 +1,43 @@
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgname=r8168-lts
+pkgver=8.050.02
+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
+ https://github.com/mtorromeo/r8168/releases/download/$pkgver/r8168-$pkgver.tar.gz.asc)
+sha256sums=('87b8f98bc6f519f28b641384a59be4a020eb8b73a8853c32e940cba7801a93be'
+ 'SKIP')
+validpgpkeys=('0CADAACF70F64C654E131B3111675C743429DDEF')
+
+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" \
+ ENABLE_USE_FIRMWARE_FILE=y \
+ CONFIG_R8168_NAPI=y \
+ CONFIG_R8168_VLAN=y \
+ CONFIG_ASPM=y \
+ ENABLE_S5WOL=y \
+ ENABLE_EEE=y \
+ 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:
More information about the arch-commits
mailing list