summaryrefslogtreecommitdiffstats
path: root/extra/nvidia-settings/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/nvidia-settings/Pkgfile')
-rwxr-xr-xextra/nvidia-settings/Pkgfile15
1 files changed, 7 insertions, 8 deletions
diff --git a/extra/nvidia-settings/Pkgfile b/extra/nvidia-settings/Pkgfile
index 480071f11..c9faf4676 100755
--- a/extra/nvidia-settings/Pkgfile
+++ b/extra/nvidia-settings/Pkgfile
@@ -5,23 +5,22 @@
# Depends on: xorg-server, nvidia
name=nvidia-settings
-version=195.36.24
+version=256.35
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)
+source=(http://us.download.nvidia.com/XFree86/Linux-${_ARCH}/$version/NVIDIA-Linux-${_ARCH}-$version.run)
build() {
- sh NVIDIA-Linux-${_ARCH}-$version-pkg0.run --extract-only
- cd NVIDIA-Linux-${_ARCH}-$version-pkg0
+ sh NVIDIA-Linux-${_ARCH}-$version.run --extract-only
+ cd NVIDIA-Linux-${_ARCH}-$version
- mkdir -p $PKG/usr/lib \
- $PKG/usr/bin $PKG/usr/share/man/man1
+ install -d $PKG/usr/{bin,share/man/man1}
# install xconfig/settings programs and manpages
- install -m 0755 usr/bin/nvidia-{xconfig,settings} $PKG/usr/bin/
- install -m 0644 usr/share/man/man1/nvidia-{xconfig,settings}.1.gz \
+ install -m 0755 nvidia-{xconfig,settings} $PKG/usr/bin/
+ install -m 0644 nvidia-{xconfig,settings}.1.gz \
$PKG/usr/share/man/man1/
}