From 1bb2648cde916ac27d3dd75d7b64a4ddc89787b7 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 10 Feb 2013 01:12:52 -0800 Subject: Sun Feb 10 01:12:35 PST 2013 --- community/r8168-lts/PKGBUILD | 34 ---------------------------------- community/r8168-lts/r8168-lts.install | 17 ----------------- 2 files changed, 51 deletions(-) delete mode 100644 community/r8168-lts/PKGBUILD delete mode 100644 community/r8168-lts/r8168-lts.install (limited to 'community/r8168-lts') diff --git a/community/r8168-lts/PKGBUILD b/community/r8168-lts/PKGBUILD deleted file mode 100644 index 7f7568ffb..000000000 --- a/community/r8168-lts/PKGBUILD +++ /dev/null @@ -1,34 +0,0 @@ -# $Id: PKGBUILD 77196 2012-10-06 11:21:22Z tpowa $ -# Maintainer: Massimiliano Torromeo - -pkgname=r8168-lts -_pkgname=r8168 -pkgver=8.032.00 -pkgrel=3 -pkgdesc="A kernel module for Realtek 8168 network cards for linux-lts" -url="http://www.realtek.com.tw" -license=("GPL") -arch=('i686' 'x86_64') -depends=('glibc' "linux-lts>=3.0" "linux-lts<3.1") -makedepends=("linux-lts-headers>=3.0" "linux-lts-headers<3.1") -source=(http://r8168.googlecode.com/files/$_pkgname-$pkgver.tar.bz2) -install=$pkgname.install - -_extramodules=extramodules-3.0-lts - -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" \ - modules -} - -package() { - cd "$_pkgname-$pkgver" - install -Dm644 src/$_pkgname.ko "$pkgdir/usr/lib/modules/$_extramodules/$_pkgname.ko" - find "$pkgdir" -name '*.ko' -exec gzip -9 {} + -} - -sha256sums=('f24ed6ba1a0a6e8cae27c49b0bddbecbd430ad1d7ddd1c5d28f2091202aee9c3') diff --git a/community/r8168-lts/r8168-lts.install b/community/r8168-lts/r8168-lts.install deleted file mode 100644 index 2aab9e1e3..000000000 --- a/community/r8168-lts/r8168-lts.install +++ /dev/null @@ -1,17 +0,0 @@ -rebuild_module_dependencies() { - EXTRAMODULES='extramodules-3.0-lts' - 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 -} -- cgit v1.2.3-54-g00ecf