summaryrefslogtreecommitdiffstats
path: root/abs/core/iwlwifi-3945-ucode
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/iwlwifi-3945-ucode')
-rw-r--r--abs/core/iwlwifi-3945-ucode/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/abs/core/iwlwifi-3945-ucode/PKGBUILD b/abs/core/iwlwifi-3945-ucode/PKGBUILD
new file mode 100644
index 0000000..14de93b
--- /dev/null
+++ b/abs/core/iwlwifi-3945-ucode/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
+# Maintainer: Thomas Baechler <thomas@archlinux.org>
+
+pkgname=iwlwifi-3945-ucode
+pkgver=2.14.1.5
+pkgrel=2
+pkgdesc="Intel wireless firmware for IPW3945 (iwlwifi driver)"
+arch=(i686 x86_64)
+url="http://intellinuxwireless.org/?p=iwlwifi"
+license=('custom')
+depends=()
+source=(http://intellinuxwireless.org/iwlwifi/downloads/$pkgname-2.14.4.tgz
+ http://intellinuxwireless.org/iwlwifi/downloads/$pkgname-$pkgver.tgz)
+md5sums=('7178aa3a6e08655b8ac9565095bbd441'
+ 'a8122d3e026561055f488dc654ccfcd1')
+force=y
+
+build() {
+ cd $startdir/src/$pkgname-2.14.4
+ # Install old firmware for compatibility
+ install -D -m 644 iwlwifi-3945.ucode $startdir/pkg/lib/firmware/iwlwifi-3945.ucode || return 1
+
+ cd $startdir/src/$pkgname-$pkgver
+ # Install firmware
+ install -D -m 644 iwlwifi-3945-1.ucode $startdir/pkg/lib/firmware/iwlwifi-3945-1.ucode || return 1
+ # Install license
+ install -D -m 644 LICENSE.iwlwifi-3945-ucode $startdir/pkg/usr/share/licenses/$pkgname/LICENSE || return 1
+}