[arch-commits] Commit in r8168/repos/community-staging-x86_64 (PKGBUILD PKGBUILD)
Jan Steffens
heftig at archlinux.org
Thu Nov 22 19:54:25 UTC 2018
Date: Thursday, November 22, 2018 @ 19:54:22
Author: heftig
Revision: 409358
archrelease: copy trunk to community-staging-x86_64
Added:
r8168/repos/community-staging-x86_64/PKGBUILD
(from rev 409357, r8168/trunk/PKGBUILD)
Deleted:
r8168/repos/community-staging-x86_64/PKGBUILD
----------+
PKGBUILD | 78 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 39 insertions(+), 39 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-11-22 18:48:27 UTC (rev 409357)
+++ PKGBUILD 2018-11-22 19:54:22 UTC (rev 409358)
@@ -1,39 +0,0 @@
-# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
-# Contributor: Bob Fanger < bfanger(at)gmail >
-# Contributor: Filip <fila pruda com>, Det < nimetonmaili(at)gmail >
-
-pkgname=r8168
-pkgver=8.046.00
-pkgrel=23
-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=('b2e66b03b696ba55c9fb7c896db8ac5377233d14120520735d31c33147d0d4c3')
-
-build() {
- KERNEL_VERSION=$(</usr/lib/modules/extramodules-ARCH/version)
- msg2 "Kernel = $KERNEL_VERSION"
-
- cd "$pkgname-$pkgver"
- # avoid using the Makefile directly -- it doesn't understand
- # any kernel but the current.
- make -C /usr/lib/modules/$KERNEL_VERSION/build \
- SUBDIRS="$srcdir/$pkgname-$pkgver/src" \
- EXTRA_CFLAGS="-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN" \
- modules
-}
-
-package() {
- depends=("linux>=4.19" "linux<4.20")
-
- cd "$pkgname-$pkgver"
- install -Dt "$pkgdir/usr/lib/modules/extramodules-ARCH" -m644 src/*.ko
- find "$pkgdir" -name '*.ko' -exec xz {} +
-
- echo "blacklist r8169" | \
- install -Dm644 /dev/stdin "$pkgdir/usr/lib/modprobe.d/r8168.conf"
-}
Copied: r8168/repos/community-staging-x86_64/PKGBUILD (from rev 409357, r8168/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-11-22 19:54:22 UTC (rev 409358)
@@ -0,0 +1,39 @@
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+# Contributor: Bob Fanger < bfanger(at)gmail >
+# Contributor: Filip <fila pruda com>, Det < nimetonmaili(at)gmail >
+
+pkgname=r8168
+pkgver=8.046.00
+pkgrel=24
+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=('b2e66b03b696ba55c9fb7c896db8ac5377233d14120520735d31c33147d0d4c3')
+
+build() {
+ KERNEL_VERSION=$(</usr/lib/modules/extramodules-ARCH/version)
+ msg2 "Kernel = $KERNEL_VERSION"
+
+ cd "$pkgname-$pkgver"
+ # avoid using the Makefile directly -- it doesn't understand
+ # any kernel but the current.
+ make -C /usr/lib/modules/$KERNEL_VERSION/build \
+ SUBDIRS="$srcdir/$pkgname-$pkgver/src" \
+ EXTRA_CFLAGS="-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN" \
+ modules
+}
+
+package() {
+ depends=("linux>=4.19" "linux<4.20")
+
+ cd "$pkgname-$pkgver"
+ install -Dt "$pkgdir/usr/lib/modules/extramodules-ARCH" -m644 src/*.ko
+ find "$pkgdir" -name '*.ko' -exec xz {} +
+
+ echo "blacklist r8169" | \
+ install -Dm644 /dev/stdin "$pkgdir/usr/lib/modprobe.d/r8168.conf"
+}
More information about the arch-commits
mailing list