aboutsummaryrefslogtreecommitdiffstats
path: root/main/iwlwifi-1000-ucode/APKBUILD
blob: 3349c9195ec338c0c8e41c49d7de0d14a89940bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=iwlwifi-1000-ucode
pkgver=128.50.3.1
pkgrel=1
pkgdesc="Intel WiFi Link 1000BGN Microcode"
url="http://intellinuxwireless.org/?p=iwlwifi"
arch="all"
license="custom"
depends=
makedepends=
install=
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tgz::http://wireless.kernel.org/en/users/Drivers/iwlwifi?action=AttachFile&do=get&target=iwlwifi-1000-ucode-$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="cfad8d5a7651dde665c5c23e8209c35d  iwlwifi-1000-ucode-128.50.3.1.tgz"