PKGBUILDs/core/iwlwifi-5000-ucode/PKGBUILD
2009-10-09 21:17:35 -05:00

27 lines
1.1 KiB
Bash

# $Id: PKGBUILD 4445 2008-07-07 12:03:31Z thomas $
# Maintainer: Thomas Baechler <thomas@archlinux.org>
pkgname=iwlwifi-5000-ucode
pkgver=8.24.2.12
_old_pkgver=5.4.A.11
pkgrel=1
pkgdesc="Intel wireless firmware for Intel's 5100BG, 5100ABG, 5100AGN, 5300AGN and 5350AGN wireless devices"
arch=(i686 x86_64)
url="http://intellinuxwireless.org/?p=iwlwifi"
license=('custom')
depends=()
source=(http://intellinuxwireless.org/iwlwifi/downloads/$pkgname-$pkgver.tgz
http://intellinuxwireless.org/iwlwifi/downloads/$pkgname-${_old_pkgver}.tar.gz)
md5sums=('45f74d052d52f6f473dc7a8d412f2274'
'748860c5079dde1a1313e72511b9322a')
build() {
cd $srcdir/$pkgname-${_old_pkgver}
# Install API version 1 firmware
install -D -m 644 iwlwifi-5000-1.ucode $pkgdir/lib/firmware/iwlwifi-5000-1.ucode || return 1
cd $srcdir/$pkgname-$pkgver
# Install firmware
install -D -m 644 iwlwifi-5000-2.ucode $pkgdir/lib/firmware/iwlwifi-5000-2.ucode || return 1
# Install license
install -D -m 644 LICENSE.iwlwifi-5000-ucode $pkgdir/usr/share/licenses/$pkgname/LICENSE || return 1
}