updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / igb / PKGBUILD
blob42309f03b88d85b66e061801b4f2950523a8240b
1 # Contributor: Vadym Abramchuk <abramm@gmail.com>
2 pkgname=igb
3 pkgver=3.0.22
4 pkgrel=1
5 pkgdesc="Intel igb server adapters driver"
6 license=(GPL)
7 arch=(i686 x86_64)
8 backup=(etc/modprobe.d/igb.conf)
9 url='http://downloadcenter.intel.com/detail_desc.aspx?agr=Y&DwnldID=13663'
10 source=(http://downloadmirror.intel.com/13663/eng/$pkgname-$pkgver.tar.gz igb.install igb.modprobe)
11 md5sums=('05afd679fc79c521b48a1408ab14fd6b'
12          'fa6d8f3dc144930203914930262b4e1b'
13          'daa91423878f549a157c93aa75dee891')
15 build() {
16         cd $srcdir/$pkgname-$pkgver/src
18         make || return 1
19         # Install in updates so we leave original igb
20         install -D -m 644 igb.ko $pkgdir/lib/modules/`uname -r`/updates/igb.ko || return 1
21         install -D -m 644 $srcdir/igb.modprobe $pkgdir/etc/modprobe.d/igb.conf