PKGBUILDs/core/iwlwifi-3945-ucode/PKGBUILD

22 lines
760 B
Bash
Raw Normal View History

2009-10-10 02:17:35 +00:00
# $Id: PKGBUILD 39416 2009-05-16 12:09:55Z thomas $
# Maintainer: Thomas Baechler <thomas@archlinux.org>
pkgname=iwlwifi-3945-ucode
pkgver=15.32.2.9
pkgrel=1
pkgdesc="Intel wireless firmware for Intel PRO/Wireless 3945ABG/BG"
arch=(i686 x86_64)
url="http://intellinuxwireless.org/?p=iwlwifi"
license=('custom')
depends=()
source=(http://intellinuxwireless.org/iwlwifi/downloads/$pkgname-$pkgver.tgz)
md5sums=('d99a75ab1305d1532a09471b2f9a547a')
build() {
cd $startdir/src/$pkgname-$pkgver
# Install API version 2 firmware
install -D -m 644 iwlwifi-3945-2.ucode $startdir/pkg/lib/firmware/iwlwifi-3945-2.ucode || return 1
# Install license
install -D -m 644 LICENSE.iwlwifi-3945-ucode $startdir/pkg/usr/share/licenses/$pkgname/LICENSE || return 1
}