summaryrefslogtreecommitdiff
path: root/community/r8168
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-12-01 14:10:29 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-12-01 14:10:29 +0000
commitbc0657f7159d0b01373ecb59afc426b98a172b1e (patch)
tree7fba1eb77eb1a2965fe5f3ed72cc77aa63d14f40 /community/r8168
parentfd115d7057eb8243df6edfaf1ed440d6f3e70692 (diff)
Thu Dec 1 14:10:27 UTC 2011
Diffstat (limited to 'community/r8168')
-rw-r--r--community/r8168/PKGBUILD32
-rw-r--r--community/r8168/r8168.install17
2 files changed, 0 insertions, 49 deletions
diff --git a/community/r8168/PKGBUILD b/community/r8168/PKGBUILD
deleted file mode 100644
index 10afb9759..000000000
--- a/community/r8168/PKGBUILD
+++ /dev/null
@@ -1,32 +0,0 @@
-# $Id: PKGBUILD 58713 2011-11-17 21:35:20Z mtorromeo $
-# Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
-# Contributor: Bob Fanger < bfanger(at)gmail >
-# Contributor: Filip <fila pruda com>, Det < nimetonmaili(at)gmail >
-
-pkgname=r8168
-pkgver=8.026.00
-pkgrel=3
-pkgdesc="A kernel module for Realtek 8168 network cards"
-url="http://www.realtek.com.tw"
-license=("GPL")
-arch=('i686' 'x86_64')
-depends=('glibc' 'linux>=3.1' 'linux<3.2')
-makedepends=('linux-headers')
-source=(http://r8168.googlecode.com/files/$pkgname-$pkgver.tar.bz2)
-install=$pkgname.install
-
-_extramodules=extramodules-3.1-ARCH
-_kernver="$(cat /lib/modules/$_extramodules/version || true)"
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
- make clean SYSSRC=/usr/src/linux-$_kernver modules
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver/src"
- install -D -m644 $pkgname.ko "$pkgdir/lib/modules/$_extramodules/$pkgname.ko"
-}
-
-md5sums=('cd0b93af17e18eb20cbfb8c5dee40f51')
-sha256sums=('e0a58706a956f22f6f44a617d218693888bfc5d3eba7197e61ed6cb75eebb425')
diff --git a/community/r8168/r8168.install b/community/r8168/r8168.install
deleted file mode 100644
index ff6d6ee42..000000000
--- a/community/r8168/r8168.install
+++ /dev/null
@@ -1,17 +0,0 @@
-rebuild_module_dependencies() {
- EXTRAMODULES='extramodules-3.1-ARCH'
- depmod $(cat /lib/modules/$EXTRAMODULES/version)
-}
-
-post_install() {
- rebuild_module_dependencies
- echo '>>> The module r8168 conflicts with r8169. You can blacklist it with:'
- echo '>>> `echo "blacklist r8169" > /etc/modprobe.d/r8169_blacklist.conf`'
-}
-post_upgrade() {
- rebuild_module_dependencies
-}
-
-post_remove() {
- rebuild_module_dependencies
-}