PKGBUILDs/community/r8101/PKGBUILD

23 lines
723 B
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Geoffroy Carrier <gcarrier@aur.archlinux.org>
# Contributor: Denis Zawada <deno@jabster.pl>
pkgname=r8101
pkgver=1.011.00
_kernver=`uname -r`
pkgrel=1
pkgdesc="r8101 realtek lan drivers"
url="http://realtek.com.tw"
license=('GPL')
arch=('i686' 'x86_64')
source=("http://koon.fr/~gcarrier/$pkgname-$pkgver.tar.bz2")
install=r8101.install
build() {
cd "$srcdir"/$pkgname-$pkgver
# Strange permissions...
chmod -R a+X .
make clean modules || return 1
mkdir -p "$pkgdir"/lib/modules/${_kernver}/kernel/drivers/net
install -D -m644 "src/r8101.ko" "$pkgdir/lib/modules/$_kernver/kernel/drivers/net/r8101.ko"
}
md5sums=('c603a7cd18ced13f81229c10933119f8')