[arch-commits] CVS update of extra/network/zd1211-firmware (PKGBUILD)

Dan McGee dan at archlinux.org
Wed Jul 11 16:51:25 UTC 2007


    Date: Wednesday, July 11, 2007 @ 12:51:25
  Author: dan
    Path: /home/cvs-extra/extra/network/zd1211-firmware

Modified: PKGBUILD (1.2 -> 1.3)

upgpkg: zd1211-firmware 1.3-2
spruce up PKGBUILD a bit, make easier to maintain


----------+
 PKGBUILD |   24 ++++++++++++++----------
 1 file changed, 14 insertions(+), 10 deletions(-)


Index: extra/network/zd1211-firmware/PKGBUILD
diff -u extra/network/zd1211-firmware/PKGBUILD:1.2 extra/network/zd1211-firmware/PKGBUILD:1.3
--- extra/network/zd1211-firmware/PKGBUILD:1.2	Thu Jun 14 11:16:24 2007
+++ extra/network/zd1211-firmware/PKGBUILD	Wed Jul 11 12:51:25 2007
@@ -1,18 +1,22 @@
-# $:Id:$
-# Contributor: Paul Mattal
+# $Id: PKGBUILD,v 1.3 2007/07/11 16:51:25 dan Exp $
+# Maintainer: Dan McGee <dan at archlinux.org>
+
 pkgname=zd1211-firmware
 pkgver=1.3
-pkgrel=1
-pkgdesc="Firmware for use with the in-kernel26 zd1211rw wireless driver"
+pkgrel=2
+pkgdesc="Firmware for the in-kernel26 zd1211rw wireless driver"
 arch=(i686 x86_64)
 url="http://zd1211.wiki.sourceforge.net/"
+# firmware files are here:
+# http://sourceforge.net/project/showfiles.php?group_id=129083
 license=('GPL')
-depends=(kernel26)
-source=(http://dl.sf.net/sourceforge/zd1211/zd1211-firmware$pkgver.tar.bz2)
+provides=('zd1211')
+source=(http://downloads.sourceforge.net/zd1211/zd1211-firmware$pkgver.tar.bz2)
+md5sums=('cfff76ea35f4f93c37f6c99aa2058140')
 
 build() {
-  mkdir -p $startdir/pkg/lib/firmware || return 1
-  cp -a $startdir/src/$pkgname $startdir/pkg/lib/firmware/zd1211 || return 1
+  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
 }
-
-md5sums=('cfff76ea35f4f93c37f6c99aa2058140')




More information about the arch-commits mailing list