[arch-commits] Commit in ipw2200-fw/trunk (PKGBUILD ipw2200-fw.install)
Pierre Schmitz
pierre at archlinux.org
Mon Apr 6 11:36:21 UTC 2009
Date: Monday, April 6, 2009 @ 07:36:21
Author: pierre
Revision: 34061
update to 3.1
Modified:
ipw2200-fw/trunk/PKGBUILD
ipw2200-fw/trunk/ipw2200-fw.install
--------------------+
PKGBUILD | 40 ++++++++++++++--------------------------
ipw2200-fw.install | 15 ++-------------
2 files changed, 16 insertions(+), 39 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2009-04-06 11:22:50 UTC (rev 34060)
+++ PKGBUILD 2009-04-06 11:36:21 UTC (rev 34061)
@@ -2,35 +2,23 @@
# Maintainer : Tobias Powalowski <tpowa at archlinux.org>
pkgname=ipw2200-fw
-pkgver=3.0
-pkgrel=2
-pkgdesc="Intel Centrino Drivers firmware for IPW2200"
-arch=(i686 x86_64)
-url="http://ipw2200.sourceforge.net/"
+pkgver=3.1
+pkgrel=1
+pkgdesc='firmware for the Intel PRO/Wireless 2200BG'
+arch=('i686' 'x86_64')
+url='http://ipw2200.sourceforge.net/'
license=('custom')
depends=('wireless_tools')
-source=(http://bughost.org/firmware/$pkgname-$pkgver.tgz)
+source=("http://bughost.org/firmware/${pkgname}-${pkgver}.tgz")
install=ipw2200-fw.install
-replaces=ipw2200
+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
-
- # Install firmware
- for i in *.fw
- do
- install -D -m 644 $i $startdir/pkg/lib/firmware/$i
+ cd $srcdir/ipw2200-fw-$pkgver
+
+ 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
- install -D -m 644 LICENSE.ipw2200-fw $startdir/usr/share/licenses/$pkgname/LICENSE.ipw2200-fw
- }
-md5sums=('34a5ed3702006f5470ebfd513e04d9eb')
+ install -D -m 644 LICENSE.ipw2200-fw $pkgdir/usr/share/licenses/$pkgname/LICENSE
+}
Modified: ipw2200-fw.install
===================================================================
--- ipw2200-fw.install 2009-04-06 11:22:50 UTC (rev 34060)
+++ ipw2200-fw.install 2009-04-06 11:36:21 UTC (rev 34061)
@@ -1,18 +1,7 @@
-# arg 1: the new package version
post_install() {
cat << EOF
IMPORTANT
==> In order to use the firmware you have to agree to Intel's license located in
-==> /lib/firmware/LICENSE.ipw2200-fw else please remove this package.
+==> /usr/share/licenses/ipw2200-fw/LICENSE else please remove this package.
EOF
-}
-
-# arg 1: the new package version
-# arg 2: the old package version
-post_upgrade() {
-post_install $1
-}
-
-op=$1
-shift
-$op $*
+}
\ No newline at end of file
More information about the arch-commits
mailing list