blob: 10afb97591e683d3e738dcab8d8dfca38c177db2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# $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')
|