summaryrefslogtreecommitdiffstats
path: root/extra/nvidia/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-04-29 19:32:26 +0200
committertnut <thierryn1 at hispeed dot ch>2010-04-29 19:32:26 +0200
commit12bde4a6c68b7f8cb1989056b83c42d83cded41d (patch)
tree8a99dbccce9946e1dd93e77a05de3d2a0ed590d9 /extra/nvidia/Pkgfile
parent5fa05342fe3cc8a9b378890c842abc504ab52c90 (diff)
downloadnutyx-pakxe-12bde4a6c68b7f8cb1989056b83c42d83cded41d.tar.gz
nutyx-pakxe-12bde4a6c68b7f8cb1989056b83c42d83cded41d.tar.bz2
nutyx-pakxe-12bde4a6c68b7f8cb1989056b83c42d83cded41d.tar.xz
nutyx-pakxe-12bde4a6c68b7f8cb1989056b83c42d83cded41d.zip
Maj nvidia#195.36.24-1
Diffstat (limited to 'extra/nvidia/Pkgfile')
-rwxr-xr-xextra/nvidia/Pkgfile14
1 files changed, 9 insertions, 5 deletions
diff --git a/extra/nvidia/Pkgfile b/extra/nvidia/Pkgfile
index 051fa3921..f8cbdc7e9 100755
--- a/extra/nvidia/Pkgfile
+++ b/extra/nvidia/Pkgfile
@@ -5,13 +5,11 @@
# Depends on: xorg-server
name=nvidia
-#version=190.53
-version=195.36.15
+version=195.36.24
release=1
[ "`uname -m`" == "i686" ] && _ARCH=x86
[ "`uname -m`" == "x86_64" ] && _ARCH=x86_64
-source=(http://us.download.nvidia.com/XFree86/Linux-${_ARCH}/$version/NVIDIA-Linux-${_ARCH}-$version-pkg0.run\
- $name-makefile.patch)
+source=(http://us.download.nvidia.com/XFree86/Linux-${_ARCH}/$version/NVIDIA-Linux-${_ARCH}-$version-pkg0.run)
build() {
sh NVIDIA-Linux-${_ARCH}-$version-pkg0.run --extract-only
@@ -50,5 +48,11 @@ build() {
# install it
install -m 0644 -D nvidia.ko \
$PKG/lib/modules/`uname -r`/kernel/video/nvidia/nvidia.ko
-
+ mkdir -p $PKG/etc/X11/xorg.conf.d
+cat > $PKG/etc/X11/xorg.conf.d/30-nvidia.conf << "EOF"
+Section "Device"
+ Identifier "NVIDIA"
+ Driver "nvidia"
+EndSection
+EOF
}