[arch-commits] Commit in zd1211-firmware/trunk (PKGBUILD)

Giovanni Scafora giovanni at archlinux.org
Mon Nov 23 22:50:09 UTC 2009


    Date: Monday, November 23, 2009 @ 17:50:09
  Author: giovanni
Revision: 59439

upgpkg: zd1211-firmware 1.4-3
    Switched to arch any

Modified:
  zd1211-firmware/trunk/PKGBUILD

----------+
 PKGBUILD |   19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-11-23 21:49:45 UTC (rev 59438)
+++ PKGBUILD	2009-11-23 22:50:09 UTC (rev 59439)
@@ -1,22 +1,23 @@
 # $Id$
 # Maintainer: Dan McGee <dan at archlinux.org>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
 
 pkgname=zd1211-firmware
 pkgver=1.4
-pkgrel=2
+pkgrel=3
 pkgdesc="Firmware for the in-kernel26 zd1211rw wireless driver"
-arch=(i686 x86_64)
+arch=('any')
 url="http://zd1211.wiki.sourceforge.net/"
-# firmware files are here:
-# http://sourceforge.net/project/showfiles.php?group_id=129083
 license=('GPL')
 provides=('zd1211')
-source=(http://downloads.sourceforge.net/zd1211/zd1211-firmware-$pkgver.tar.bz2)
+source=(http://downloads.sourceforge.net/zd1211/${pkgname}-${pkgver}.tar.bz2)
 md5sums=('19f28781d76569af8551c9d11294c870')
 
 build() {
-  cd $startdir/src/zd1211-firmware
-  mkdir -p $startdir/pkg/lib/firmware/zd1211/
-  # just unpack the files to the firmware directory
-  install -m644 * $startdir/pkg/lib/firmware/zd1211/ || return 1
+  cd "${srcdir}/${pkgname}"
+  # Install firmware
+  for i in zd1211* WS11U*
+  do                
+    install -D -m 644 $i "${pkgdir}/lib/firmware/zd1211/$i" || return 1
+  done
 }




More information about the arch-commits mailing list