Update nvidia-drd to 337.25-2
This commit is contained in:
parent
de8513a4d8
commit
91c24086f5
2 changed files with 8 additions and 8 deletions
|
@ -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>
|
||||
|
||||
pkgname=nvidia-drd
|
||||
pkgver=337.25
|
||||
_extramodules=extramodules-3.14-drd
|
||||
pkgrel=1
|
||||
_extramodules=extramodules-3.15-drd
|
||||
pkgrel=2
|
||||
pkgdesc="NVIDIA drivers for linux"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://www.nvidia.com/"
|
||||
depends=('linux-drd>=3.14' 'linux-drd<3.15' "nvidia-libgl" "nvidia-utils=${pkgver}")
|
||||
makedepends=('linux-drd-headers>=3.14' 'linux-drd-headers<3.15')
|
||||
depends=('linux-drd>=3.15' 'linux-drd<3.16' "nvidia-libgl" "nvidia-utils=${pkgver}")
|
||||
makedepends=('linux-drd-headers>=3.15' 'linux-drd-headers<3.16')
|
||||
conflicts=('nvidia-96xx' 'nvidia-173xx')
|
||||
license=('custom')
|
||||
install=nvidia.install
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
post_install() {
|
||||
EXTRAMODULES='extramodules-3.14-drd'
|
||||
EXTRAMODULES='extramodules-3.15-drd'
|
||||
depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
|
||||
echo 'In order to use nvidia module, reboot the system.'
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
EXTRAMODULES='extramodules-3.14-drd'
|
||||
EXTRAMODULES='extramodules-3.15-drd'
|
||||
depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
|
||||
if [ "$(vercmp $2 310.19-2)" -lt 0 ]; then
|
||||
echo 'If your card is from the 7xxx series or earlier, install nvidia-304xx'
|
||||
|
@ -13,6 +13,6 @@ post_upgrade() {
|
|||
}
|
||||
|
||||
post_remove() {
|
||||
EXTRAMODULES='extramodules-3.14-drd'
|
||||
EXTRAMODULES='extramodules-3.15-drd'
|
||||
depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue