[arch-commits] CVS update of extra/network/madwifi-suspend2 (2 files)
daniel at archlinux.org
daniel at archlinux.org
Tue Oct 16 18:50:48 UTC 2007
Date: Tuesday, October 16, 2007 @ 14:50:48
Author: daniel
Path: /home/cvs-extra/extra/network/madwifi-suspend2
Removed: PKGBUILD (1.6) madwifi-ng.install (1.4)
--------------------+
PKGBUILD | 27 ---------------------------
madwifi-ng.install | 23 -----------------------
2 files changed, 50 deletions(-)
Index: extra/network/madwifi-suspend2/PKGBUILD
diff -u extra/network/madwifi-suspend2/PKGBUILD:1.6 extra/network/madwifi-suspend2/PKGBUILD:removed
--- extra/network/madwifi-suspend2/PKGBUILD:1.6 Tue Aug 21 12:58:05 2007
+++ extra/network/madwifi-suspend2/PKGBUILD Tue Oct 16 14:50:48 2007
@@ -1,27 +0,0 @@
-# $Id: PKGBUILD,v 1.6 2007/08/21 16:58:05 daniel Exp $
-# Originally by kleptophobiac <kleptophobiac at gmail.com>
-# Modified by James Rayner for the repositories <iphitus at gmail.com>
-
-_kernver=2.6.22-suspend2
-
-pkgname=madwifi-suspend2
-pkgver=0.9.3.1.99
-pkgrel=1
-pkgdesc="Madwifi drivers for Atheros wireless chipsets. For kernel26suspend2"
-arch=(i686 x86_64)
-url="http://madwifi.org"
-depends=('madwifi-utils' 'kernel26suspend2')
-makedepends=('sharutils')
-
-install=madwifi-ng.install
-source=(http://www.archlinux.org/~alexander/src/madwifi-0.9.3.1.99.tar.bz2)
-#http://optusnet.dl.sourceforge.net/sourceforge/madwifi/madwifi-$pkgver.tar.bz2)
-
-build() {
- cd $startdir/src/madwifi-$pkgver
- make KERNELPATH=/lib/modules/$_kernver/build KERNELRELEASE=$_kernver modules|| return 1
- make KERNELPATH=/lib/modules/$_kernver/build KERNELRELEASE=$_kernver modules \
- DESTDIR=$startdir/pkg KERNELRELEASE=$_kernver install-modules
- sed -i -e "s/KERNEL_VERSION='.*'/KERNEL_VERSION='${_kernver}'/" $startdir/*.install
-}
-md5sums=('80e1c1d4dffbdd1ffc2af123ae424f54')
Index: extra/network/madwifi-suspend2/madwifi-ng.install
diff -u extra/network/madwifi-suspend2/madwifi-ng.install:1.4 extra/network/madwifi-suspend2/madwifi-ng.install:removed
--- extra/network/madwifi-suspend2/madwifi-ng.install:1.4 Tue Aug 21 12:58:05 2007
+++ extra/network/madwifi-suspend2/madwifi-ng.install Tue Oct 16 14:50:48 2007
@@ -1,23 +0,0 @@
-# arg 1: the new package version
-post_install() {
- KERNEL_VERSION='2.6.22-suspend2'
- depmod -v $KERNEL_VERSION > /dev/null 2>&1
-}
-
-# arg 1: the new package version
-# arg 2: the old package version
-post_upgrade() {
- KERNEL_VERSION='2.6.22-suspend2'
- depmod -v $KERNEL_VERSION > /dev/null 2>&1
-
-}
-
-# arg 1: the old package version
-post_remove() {
- KERNEL_VERSION='2.6.22-suspend2'
- depmod -v $KERNEL_VERSION > /dev/null 2>&1
-}
-
-op=$1
-shift
-$op $*
More information about the arch-commits
mailing list