From 881736fe8a51958a65537cfae4184fdd528677c3 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 9 Jul 2012 17:42:13 +0200 Subject: [PATCH] ipw2100-firmware: switch to /usr. --- srcpkgs/ipw2100-firmware/template | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/srcpkgs/ipw2100-firmware/template b/srcpkgs/ipw2100-firmware/template index 2b62110bbd1..03abc683bdb 100644 --- a/srcpkgs/ipw2100-firmware/template +++ b/srcpkgs/ipw2100-firmware/template @@ -2,25 +2,21 @@ pkgname=ipw2100-firmware _distname=ipw2100-fw version=1.3 +noarch=yes wrksrc="${_distname}-${version}" create_wrksrc=yes -distfiles="http://bughost.org/firmware/${_distname}-${version}.tgz" -revision=1 +revision=2 short_desc="Firmware for the Intel PRO/Wireless 2100 wifi cards" maintainer="Juan RP " +distfiles="http://bughost.org/firmware/${_distname}-${version}.tgz" checksum=e1107c455e48d324a616b47a622593bc8413dcce72026f72731c0b03dae3a7a2 long_desc=" This package contains the firmware required by the ipw2100 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} || return 1 - install -m644 ${wrksrc}/*.fw ${DESTDIR}/lib/firmware || return 1 - install -m644 ${wrksrc}/LICENSE \ - ${DESTDIR}/usr/share/doc/${pkgname} || return 1 +do_install() { + vmkdir usr/lib/firmware + install -m644 *.fw ${DESTDIR}/usr/lib/firmware + vinstall LICENSE 644 usr/share/licenses/$pkgname }