# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
setvar pkgname = 'iwlwifi-1000-ucode'
setvar pkgver = '39.31.5.1'
setvar pkgrel = '0'
setvar pkgdesc = ""Intel WiFi Link 1000BGN Microcode""
setvar url = ""http://intellinuxwireless.org/?p=iwlwifi""
setvar arch = ""all""
setvar license = ""custom""
setvar depends = ''
setvar makedepends = ''
setvar install = ''
setvar subpackages = ""$pkgname-doc""
setvar source = ""https://wireless.wiki.kernel.org/_media/en/users/drivers/iwlwifi-1000-ucode-$pkgver.tgz""

setvar _builddir = ""$srcdir"/$pkgname-$pkgver"
proc build {
	return 0
}

proc 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/
}

setvar md5sums = ""8098503cb2abcdeffffb3ddd2d8d6f60  iwlwifi-1000-ucode-39.31.5.1.tgz""
setvar sha256sums = ""ed0f1fbc2571c8da9a0cd9410fa8883494a9e1ac469d5000bc2c9dceaf83c970  iwlwifi-1000-ucode-39.31.5.1.tgz""
setvar sha512sums = ""18f01b51f83e133bd6803567afb75606faba8cd96e3ed4faab8350d6f63e43c4c9397fdc17631efda1606fbef9e1a2b3065cbb58779de0f56223c95703474b06  iwlwifi-1000-ucode-39.31.5.1.tgz""