# $Id: PKGBUILD 4446 2008-07-07 12:03:57Z thomas $ # Maintainer: Thomas Baechler pkgname=iwlwifi-4965-ucode pkgver=228.57.2.21 pkgrel=1 pkgdesc="Intel wireless firmware for IPW4965 (iwlwifi driver)" 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-228.57.1.21.tgz) md5sums=('83804fb4bfa991ffd4849c19a74bf38d' 'bce5a13d681100aeee2ddac3beaff437') build() { cd $startdir/src/$pkgname-228.57.1.21 # Install firmware (ABI version 1, for compatibility) install -D -m 644 iwlwifi-4965-1.ucode $startdir/pkg/lib/firmware/iwlwifi-4965-1.ucode || return 1 cd $startdir/src/$pkgname-$pkgver # Install firmware (ABI version 2, for future versions of iwl4965) install -D -m 644 iwlwifi-4965-2.ucode $startdir/pkg/lib/firmware/iwlwifi-4965-2.ucode || return 1 # Install license install -D -m 644 LICENSE.iwlwifi-4965-ucode $startdir/pkg/usr/share/licenses/$pkgname/LICENSE || return 1 }