Update nvidia-drd to 337.25-2

This commit is contained in:
Tom Willemse 2014-06-16 09:54:47 +02:00
parent de8513a4d8
commit 91c24086f5
2 changed files with 8 additions and 8 deletions

View file

@ -1,15 +1,15 @@
# $Id: PKGBUILD 213919 2014-05-31 12:43:48Z svenstaro $ # $Id: PKGBUILD 214392 2014-06-08 20:31:11Z tpowa $
# Maintainer : Thomas Baechler <thomas@archlinux.org> # Maintainer : Thomas Baechler <thomas@archlinux.org>
pkgname=nvidia-drd pkgname=nvidia-drd
pkgver=337.25 pkgver=337.25
_extramodules=extramodules-3.14-drd _extramodules=extramodules-3.15-drd
pkgrel=1 pkgrel=2
pkgdesc="NVIDIA drivers for linux" pkgdesc="NVIDIA drivers for linux"
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
url="http://www.nvidia.com/" url="http://www.nvidia.com/"
depends=('linux-drd>=3.14' 'linux-drd<3.15' "nvidia-libgl" "nvidia-utils=${pkgver}") depends=('linux-drd>=3.15' 'linux-drd<3.16' "nvidia-libgl" "nvidia-utils=${pkgver}")
makedepends=('linux-drd-headers>=3.14' 'linux-drd-headers<3.15') makedepends=('linux-drd-headers>=3.15' 'linux-drd-headers<3.16')
conflicts=('nvidia-96xx' 'nvidia-173xx') conflicts=('nvidia-96xx' 'nvidia-173xx')
license=('custom') license=('custom')
install=nvidia.install install=nvidia.install

View file

@ -1,11 +1,11 @@
post_install() { post_install() {
EXTRAMODULES='extramodules-3.14-drd' EXTRAMODULES='extramodules-3.15-drd'
depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
echo 'In order to use nvidia module, reboot the system.' echo 'In order to use nvidia module, reboot the system.'
} }
post_upgrade() { post_upgrade() {
EXTRAMODULES='extramodules-3.14-drd' EXTRAMODULES='extramodules-3.15-drd'
depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
if [ "$(vercmp $2 310.19-2)" -lt 0 ]; then if [ "$(vercmp $2 310.19-2)" -lt 0 ]; then
echo 'If your card is from the 7xxx series or earlier, install nvidia-304xx' echo 'If your card is from the 7xxx series or earlier, install nvidia-304xx'
@ -13,6 +13,6 @@ post_upgrade() {
} }
post_remove() { post_remove() {
EXTRAMODULES='extramodules-3.14-drd' EXTRAMODULES='extramodules-3.15-drd'
depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
} }