From dabe21fde45ab04360d1fa8235bad401e66bb967 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 6 Dec 2009 01:28:23 +0100 Subject: [PATCH] Added ar9170-firmware-1.0 build template. --HG-- extra : convert_revision : 0923b6fd7dd8fcb82c48bffda743530ddf83217a --- srcpkgs/ar9170-firmware/template | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 srcpkgs/ar9170-firmware/template diff --git a/srcpkgs/ar9170-firmware/template b/srcpkgs/ar9170-firmware/template new file mode 100644 index 00000000000..da39b082421 --- /dev/null +++ b/srcpkgs/ar9170-firmware/template @@ -0,0 +1,23 @@ +# 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 " +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} +}