vp-build/srcpkgs/ar9170-firmware/template
Juan RP dabe21fde4 Added ar9170-firmware-1.0 build template.
--HG--
extra : convert_revision : 0923b6fd7dd8fcb82c48bffda743530ddf83217a
2009-12-06 01:28:23 +01:00

24 lines
868 B
Plaintext

# Template file for 'ar9170-firmware'
pkgname=ar9170-firmware
_distname=ar9170-fw
version=1.0
wrksrc="${_distname}-${version}"
distfiles="ftp://ftp.archlinux.org/other/${_distname}/${_distname}.tar.gz"
build_style=custom-install
short_desc="Firmware for the Atheros 802.11n USB chipset (AR9170)"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=b702cb893300f19f6f8b4ff4c4760a25ee8c2fa855fb0f3a732f9a837b45bdd2
long_desc="
This package contains the firmware required by the ar9170usb driver for Linux.
Usage of the firmware is subject to the terms and conditions contained
inside the provided LICENSE file. Please read it carefully."
noarch=yes
do_install()
{
install -d ${DESTDIR}/lib/firmware ${DESTDIR}/usr/share/doc/${pkgname}
install -m644 ${wrksrc}/ar9170*.fw ${DESTDIR}/lib/firmware
install -m644 ${wrksrc}/LICENSE ${DESTDIR}/usr/share/doc/${pkgname}
}