[arch-commits] CVS update of extra/x11/nvidia-96xx-suspend2 (2 files)

daniel at archlinux.org daniel at archlinux.org
Tue Oct 16 18:54:34 UTC 2007


    Date: Tuesday, October 16, 2007 @ 14:54:34
  Author: daniel
    Path: /home/cvs-extra/extra/x11/nvidia-96xx-suspend2

 Removed: PKGBUILD (1.5) nvidia-96xx.install (1.3)


---------------------+
 PKGBUILD            |   39 ---------------------------------------
 nvidia-96xx.install |   22 ----------------------
 2 files changed, 61 deletions(-)


Index: extra/x11/nvidia-96xx-suspend2/PKGBUILD
diff -u extra/x11/nvidia-96xx-suspend2/PKGBUILD:1.5 extra/x11/nvidia-96xx-suspend2/PKGBUILD:removed
--- extra/x11/nvidia-96xx-suspend2/PKGBUILD:1.5	Tue Aug 21 12:58:10 2007
+++ extra/x11/nvidia-96xx-suspend2/PKGBUILD	Tue Oct 16 14:54:34 2007
@@ -1,39 +0,0 @@
-# $Id: PKGBUILD,v 1.5 2007/08/21 16:58:10 daniel Exp $
-# Maintainer : Tobias Powalowski <tpowa at archlinux.org>
-
-pkgname=nvidia-96xx-suspend2
-pkgver=1.0.9639
-_nver=1.0-9639
-_kernver='2.6.22-suspend2'
-pkgrel=3
-pkgdesc="NVIDIA legacy drivers for kernel26suspend2, 96xx branch"
-arch=(i686 x86_64)
-[ "$CARCH" = "i686"   ] && ARCH=x86
-[ "$CARCH" = "x86_64" ] && ARCH=x86_64
-url="http://www.nvidia.com/"
-depends=('kernel26suspend2' 'nvidia-96xx-utils')
-conflicts=('nvidia-suspend2' 'nvidia-71xx-suspend2' 'nvidia-legacy-suspend2')
-install=nvidia-96xx.install
-source=(http://us.download.nvidia.com/XFree86/Linux-$ARCH/${_nver}/NVIDIA-Linux-$ARCH-${_nver}-pkg0.run)
-md5sums=('3d8b8b700a0c5a34eb39c8ca70a57f72')
-[ "$CARCH" = "x86_64" ] && md5sums=('dfa6145a5d81af65ab0d05093a42a829')
-
-build()
-{
-  # Extract
-  cd $startdir/src/
-  sh NVIDIA-Linux-$ARCH-${_nver}-pkg0.run --extract-only
-  cd NVIDIA-Linux-$ARCH-${_nver}-pkg0
-  
-  # Any extra patches are applied in here...
-
-  cd usr/src/nv/
-  ln -s Makefile.kbuild Makefile
-  make SYSSRC=/lib/modules/$_kernver/build module 
-  
-  # install kernel module
-  mkdir -p $startdir/pkg/lib/modules/${_kernver}/kernel/drivers/video/
-  install -m644 nvidia.ko $startdir/pkg/lib/modules/${_kernver}/kernel/drivers/video/
-
-  sed -i -e "s/KERNEL_VERSION='.*'/KERNEL_VERSION='${_kernver}'/" $startdir/*.install
-}
Index: extra/x11/nvidia-96xx-suspend2/nvidia-96xx.install
diff -u extra/x11/nvidia-96xx-suspend2/nvidia-96xx.install:1.3 extra/x11/nvidia-96xx-suspend2/nvidia-96xx.install:removed
--- extra/x11/nvidia-96xx-suspend2/nvidia-96xx.install:1.3	Tue Aug 21 12:58:10 2007
+++ extra/x11/nvidia-96xx-suspend2/nvidia-96xx.install	Tue Oct 16 14:54:34 2007
@@ -1,22 +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() {
-  post_install $1
-  rmmod nvidia || echo 'In order to use the new nvidia module, exit Xserver and unload it manually.'
-}
-
-# 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