summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/iwlwifi-4965-ucode/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core-testing/iwlwifi-4965-ucode/PKGBUILD')
-rw-r--r--abs/core-testing/iwlwifi-4965-ucode/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/abs/core-testing/iwlwifi-4965-ucode/PKGBUILD b/abs/core-testing/iwlwifi-4965-ucode/PKGBUILD
new file mode 100644
index 0000000..4ce295a
--- /dev/null
+++ b/abs/core-testing/iwlwifi-4965-ucode/PKGBUILD
@@ -0,0 +1,26 @@
+# $Id: PKGBUILD 4446 2008-07-07 12:03:57Z thomas $
+# Maintainer: Thomas Baechler <thomas@archlinux.org>
+
+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
+}