diff options
author | Cecil <knoppmyth@gmail.com> | 2011-07-19 07:47:06 (GMT) |
---|---|---|
committer | Cecil <knoppmyth@gmail.com> | 2011-07-19 07:47:06 (GMT) |
commit | 3770357834a1cbb6c17a647de60b18f5b6e9a9b9 (patch) | |
tree | 41433adcb11cdff28d6832fd3b2d8583ccce1cb6 /abs/core | |
parent | 04ac812563bded6a6839f0c3dd71b14e8450b0bf (diff) | |
download | linhes_pkgbuild-3770357834a1cbb6c17a647de60b18f5b6e9a9b9.zip linhes_pkgbuild-3770357834a1cbb6c17a647de60b18f5b6e9a9b9.tar.gz linhes_pkgbuild-3770357834a1cbb6c17a647de60b18f5b6e9a9b9.tar.bz2 |
nvidia::Bumped to latest.
Diffstat (limited to 'abs/core')
-rw-r--r-- | abs/core/nvidia/PKGBUILD | 25 | ||||
-rw-r--r-- | abs/core/nvidia/nvidia.install | 14 |
2 files changed, 21 insertions, 18 deletions
diff --git a/abs/core/nvidia/PKGBUILD b/abs/core/nvidia/PKGBUILD index 54145f8..c21781e 100644 --- a/abs/core/nvidia/PKGBUILD +++ b/abs/core/nvidia/PKGBUILD @@ -1,31 +1,30 @@ -# $Id: PKGBUILD 96992 2010-10-25 20:56:29Z tpowa $ +# $Id: PKGBUILD 127419 2011-06-14 18:53:04Z ibiru $ # Maintainer : Thomas Baechler <thomas@archlinux.org> pkgname=nvidia -pkgver=270.41.03 -_kernver='2.6.37-LinHES' +pkgver=275.09.07 +_kernver='2.6.39-LinHES' pkgrel=1 pkgdesc="NVIDIA drivers for kernel26." arch=('i686' 'x86_64') url="http://www.nvidia.com/" -#depends=('kernel26>=2.6.36' 'kernel26<2.6.37' "nvidia-utils=${pkgver}") -#makedepends=('kernel26-headers>=2.6.36' 'kernel26-headers<2.6.37') -depends=('kernel26>=2.6.37' "nvidia-utils=${pkgver}") -makedepends=('kernel26-headers>=2.6.37') +depends=('kernel26>=2.6.39' 'kernel26<2.6.40' "nvidia-utils=${pkgver}") +makedepends=('kernel26-headers>=2.6.39' 'kernel26-headers<2.6.40') conflicts=('nvidia-96xx' 'nvidia-173xx') license=('custom') install=nvidia.install +options=(!strip) if [ "$CARCH" = "i686" ]; then _arch='x86' _pkg="NVIDIA-Linux-${_arch}-${pkgver}" - source=("ftp://download.nvidia.com/XFree86/Linux-${_arch}/${pkgver}/${_pkg}.run") - md5sums=('4e3b54ee55c6cfa4437c12a8bd9a4250') + source=("ftp://download.nvidia.com/XFree86/Linux-${_arch}/${pkgver}/${_pkg}.run") + md5sums=('d779057af3a2f96a05ddda201606618b') elif [ "$CARCH" = "x86_64" ]; then _arch='x86_64' _pkg="NVIDIA-Linux-${_arch}-${pkgver}-no-compat32" - source=("ftp://download.nvidia.com/XFree86/Linux-${_arch}/${pkgver}/${_pkg}.run") - md5sums=('6ebc5db9066e920b0b0e48377ce5eeb5') + source=("ftp://download.nvidia.com/XFree86/Linux-${_arch}/${pkgver}/${_pkg}.run") + md5sums=('f75df248f7bf32199ed88db2f080cbfa') fi build() { @@ -41,5 +40,7 @@ package() { install -d -m755 $pkgdir/etc/modprobe.d echo "blacklist nouveau" >> $pkgdir/etc/modprobe.d/nouveau_blacklist.conf sed -i -e "s/KERNEL_VERSION='.*'/KERNEL_VERSION='${_kernver}'/" $startdir/nvidia.install + # gzip -9 all modules to safe 100MB of space + find "$pkgdir" -name '*.ko' -exec gzip -9 {} \; } -md5sums=('4e3b54ee55c6cfa4437c12a8bd9a4250') +md5sums=('d779057af3a2f96a05ddda201606618b') diff --git a/abs/core/nvidia/nvidia.install b/abs/core/nvidia/nvidia.install index f7ecde6..b59d0b2 100644 --- a/abs/core/nvidia/nvidia.install +++ b/abs/core/nvidia/nvidia.install @@ -1,14 +1,16 @@ post_install() { - KERNEL_VERSION='2.6.37-LinHES' - depmod $KERNEL_VERSION + KERNEL_VERSION='2.6.39-LinHES' + depmod $KERNEL_VERSION + echo 'In order to use nvidia module, reboot the system.' } post_upgrade() { - post_install - rmmod nvidia || echo 'In order to use the new nvidia module, exit Xserver and unload it manually.' + KERNEL_VERSION='2.6.39-LinHES' + depmod $KERNEL_VERSION + rmmod nvidia || echo 'In order to use the new nvidia module, exit Xserver and unload it manually.' } post_remove() { - KERNEL_VERSION='2.6.37-LinHES' - depmod $KERNEL_VERSION + KERNEL_VERSION='2.6.39-LinHES' + depmod $KERNEL_VERSION } |