aboutsummaryrefslogtreecommitdiffstats
path: root/main/iwlwifi-5000-ucode/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/iwlwifi-5000-ucode/APKBUILD')
-rw-r--r--main/iwlwifi-5000-ucode/APKBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/main/iwlwifi-5000-ucode/APKBUILD b/main/iwlwifi-5000-ucode/APKBUILD
new file mode 100644
index 0000000000..92d3c90837
--- /dev/null
+++ b/main/iwlwifi-5000-ucode/APKBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=iwlwifi-5000-ucode
+pkgver=8.24.2.12
+pkgrel=0
+pkgdesc="Intel WiFi 5100AGN, 5300AGN, and 5350AGN Microcode"
+url="http://intellinuxwireless.org/?p=iwlwifi"
+license="custom"
+depends=
+makedepends=
+install=
+subpackages="$pkgname-doc"
+source="http://intellinuxwireless.org/iwlwifi/downloads/$pkgname-$pkgver.tgz"
+
+_builddir="$srcdir"/$pkgname-$pkgver
+build() {
+ return 0
+}
+
+package() {
+ cd "$_builddir"
+ install -d "$pkgdir"/lib/firmware \
+ "$pkgdir"/usr/share/doc/$pkgname \
+ "$pkgdir"/usr/share/licenses/$pkgname
+ install iwlwifi-*.ucode "$pkgdir"/lib/firmware/
+ install -m644 README.* "$pkgdir"/usr/share/doc/$pkgname/
+ install -m644 LICENSE.* "$pkgdir"/usr/share/licenses/$pkgname/
+}
+
+md5sums="45f74d052d52f6f473dc7a8d412f2274 iwlwifi-5000-ucode-8.24.2.12.tgz"