From 9e8224f459764afc3f6f4702929130bffc33f98c Mon Sep 17 00:00:00 2001
From: Cecil Hugh Watson <knoppmyth@gmail.com>
Date: Sat, 4 Sep 2010 16:02:57 -0700
Subject: ipw2200:Bumped/Updated for LinHES 7.

---
 abs/core-testing/ipw2200-fw/PKGBUILD | 45 +++++++++++++++---------------------
 1 file changed, 18 insertions(+), 27 deletions(-)

diff --git a/abs/core-testing/ipw2200-fw/PKGBUILD b/abs/core-testing/ipw2200-fw/PKGBUILD
index 5ff080b..75b4be9 100644
--- a/abs/core-testing/ipw2200-fw/PKGBUILD
+++ b/abs/core-testing/ipw2200-fw/PKGBUILD
@@ -1,34 +1,25 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
-# Maintainer : Tobias Powalowski <tpowa@archlinux.org>
+# $Id: PKGBUILD 59427 2009-11-23 20:20:15Z giovanni $
+# Maintainer: Thomas Baechler <thomas@archlinux.org>
+# Contributor: Giovanni Scafora <giovanni@archlinux.org>
 
 pkgname=ipw2200-fw
-pkgver=3.0
+pkgver=3.1
 pkgrel=2
-pkgdesc="Intel Centrino Drivers firmware for IPW2200"
-arch=(i686 x86_64)
-url="http://ipw2200.sourceforge.net/"
-depends=('wireless_tools')
-source=(http://bughost.org/firmware/$pkgname-$pkgver.tgz)
-install=ipw2200-fw.install
-replaces=ipw2200
+pkgdesc="Firmware for the Intel PRO/Wireless 2200BG"
+arch=('any')
+url='http://ipw2200.sourceforge.net/'
+license=('custom')
+depends=()
+source=(http://bughost.org/firmware/${pkgname}-${pkgver}.tgz)
+replaces=('ipw2200')
+md5sums=('eaba788643c7cc7483dd67ace70f6e99')
 
 build() {
-  #cd $startdir/src/$pkgname-$pkgver
-  #make
-  #Install kernel modules
-  #for i in *.ko
-  #do
-  #install -D -m 644 $i  $startdir/pkg/lib/modules/$(uname -r)/kernel/drivers/net/wireless/ipw2200/$i
-  #done
- 
-  cd $startdir/src/ipw2200-fw-3.0
-  
+  cd "${srcdir}/ipw2200-fw-${pkgver}"
   # Install firmware
-  for i in *.fw
-  do
-  install -D -m 644 $i $startdir/pkg/lib/firmware/$i
+  for i in ipw*.fw; do
+    install -D -m 644 $i "${pkgdir}/lib/firmware/$i"
   done
-  # Install firmware license
-  install -D -m 644 LICENSE.ipw2200-fw $startdir/pkg/lib/firmware/LICENSE.ipw2200-fw
- }
-md5sums=('34a5ed3702006f5470ebfd513e04d9eb')
+  # Install license
+  install -D -m 644 LICENSE.ipw2200-fw "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" || return 1
+}
-- 
cgit v0.12

