[arch-commits] CVS update of extra/x11/nvidia-96xx-beyond (2 files)
Travis Willard
travis at archlinux.org
Sun May 20 13:44:31 UTC 2007
Date: Sunday, May 20, 2007 @ 09:44:31
Author: travis
Path: /home/cvs-extra/extra/x11/nvidia-96xx-beyond
Removed: PKGBUILD (1.2) nvidia-96xx.install (1.1)
Beyond kernel removed from repos
---------------------+
PKGBUILD | 39 ---------------------------------------
nvidia-96xx.install | 22 ----------------------
2 files changed, 61 deletions(-)
Index: extra/x11/nvidia-96xx-beyond/PKGBUILD
diff -u extra/x11/nvidia-96xx-beyond/PKGBUILD:1.2 extra/x11/nvidia-96xx-beyond/PKGBUILD:removed
--- extra/x11/nvidia-96xx-beyond/PKGBUILD:1.2 Fri Feb 16 14:49:45 2007
+++ extra/x11/nvidia-96xx-beyond/PKGBUILD Sun May 20 09:44:31 2007
@@ -1,39 +0,0 @@
-# $Id: PKGBUILD,v 1.2 2007/02/16 19:49:45 andyrtr Exp $
-# Maintainer : Tobias Powalowski <tpowa at archlinux.org>
-
-pkgname=nvidia-96xx-beyond
-pkgver=1.0.9631
-_nver=1.0-9631
-_kernver='2.6.19-beyond'
-pkgrel=1
-pkgdesc="NVIDIA legacy drivers for kernel26beyond, 96xx branch"
-arch=(i686 x86_64)
-[ "$CARCH" = "i686" ] && ARCH=x86
-[ "$CARCH" = "x86_64" ] && ARCH=x86_64
-url="http://www.nvidia.com/"
-depends=('kernel26beyond' 'nvidia-96xx-utils')
-conflicts=('nvidia-beyond' 'nvidia-71xx-beyond' 'nvidia-legacy-beyond')
-install=nvidia-96xx.install
-source=(http://us.download.nvidia.com/XFree86/Linux-$ARCH/${_nver}/NVIDIA-Linux-$ARCH-${_nver}-pkg0.run)
-md5sums=('b0d721c962c4df1a028ae18416d7e862')
-[ "$CARCH" = "x86_64" ] && md5sums=('6fd14366f7ff4575dcce3a9d350d1355')
-
-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-beyond/nvidia-96xx.install
diff -u extra/x11/nvidia-96xx-beyond/nvidia-96xx.install:1.1 extra/x11/nvidia-96xx-beyond/nvidia-96xx.install:removed
--- extra/x11/nvidia-96xx-beyond/nvidia-96xx.install:1.1 Tue Feb 6 11:55:41 2007
+++ extra/x11/nvidia-96xx-beyond/nvidia-96xx.install Sun May 20 09:44:31 2007
@@ -1,22 +0,0 @@
-# arg 1: the new package version
-post_install() {
- KERNEL_VERSION='2.6.19-beyond'
- 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.19-beyond'
- depmod -v $KERNEL_VERSION > /dev/null 2>&1
-}
-
-op=$1
-shift
-$op $*
More information about the arch-commits
mailing list