# $Id: $ # Maintainer: Thomas Baechler # Contributor: Giovanni Scafora pkgname=iwlwifi-5000-ucode pkgver=8.24.2.12 _old_pkgver=5.4.A.11 pkgrel=2 pkgdesc="Intel wireless firmware for Intel's 5100BG, 5100ABG, 5100AGN, 5300AGN and 5350AGN wireless devices" arch=('any') 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 }