1 # Original PKGBUILD: lib32-nvidia-utils-180.29-3 by Florian Joncour aka Diablo150
2 # Derived from lib32-nvidia-utils-173.14.20-1 by Christofer Bertonha (ghost-linux)
3 # Contributor Viktor Jackson (Xlator)
5 pkgname=lib32-nvidia-utils-96xx
8 pkgdesc="Legacy (96xx) x86 NVIDIA drivers utilities and libraries for x86_64 systems."
10 url="http://www.nvidia.com/"
11 license=('custom:NVIDIA')
12 depends=('lib32-libxext')
13 conflicts=('lib32-libgl' 'lib32-ati-fglrx-utils' 'lib32-nvidia-utils' 'lib32-nvidia-utils-beta ')
14 provides=('lib32-libgl' 'lib32-nvidia-utils')
15 options=('docs' '!strip')
17 # Avoid repeting this long name every time
18 _nvidia="NVIDIA-Linux-x86-${pkgver}-pkg${pkgrel}"
20 source=("ftp://download.nvidia.com/XFree86/Linux-x86/$pkgver/$_nvidia.run")
21 md5sums=('59036f8c75868c5c918316caa0af4a5e')
27 sh ${_nvidia}.run --extract-only
28 cd "${srcdir}/${_nvidia}"
29 mkdir -p $pkgdir/usr/lib32
30 cp -dp usr/lib/*.so* $pkgdir/usr/lib32
31 install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
34 ln -sf libGL.so.$pkgver libGL.so
35 ln -sf libGL.so.$pkgver libGL.so.1
36 ln -sf libGLcore.so.$pkgver libGLcore.so.1
37 ln -sf libnvidia-cfg.so.$pkgver libnvidia-cfg.so.1
38 ln -sf libnvidia-tls.so.$pkgver libnvidia-tls.so.1