diff options
author | Britney Fransen <brfransen@gmail.com> | 2014-03-25 22:35:54 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2014-03-25 22:35:54 (GMT) |
commit | f767daf505cf4f698d41383c378f7b5e425738d9 (patch) | |
tree | 64638c22147b69affd29aed92ea5c3d8575fce94 /abs/core/nvidia-utils | |
parent | b44e1a9ba42cd543e7f911cbc6102c29420a1fd8 (diff) | |
download | linhes_pkgbuild-f767daf505cf4f698d41383c378f7b5e425738d9.zip linhes_pkgbuild-f767daf505cf4f698d41383c378f7b5e425738d9.tar.gz linhes_pkgbuild-f767daf505cf4f698d41383c378f7b5e425738d9.tar.bz2 |
nvidia & nvidia-utils: update to 331.49 and build for kernel 3.13
Diffstat (limited to 'abs/core/nvidia-utils')
-rw-r--r-- | abs/core/nvidia-utils/PKGBUILD | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/abs/core/nvidia-utils/PKGBUILD b/abs/core/nvidia-utils/PKGBUILD index 4e5c35c..e38a75a 100644 --- a/abs/core/nvidia-utils/PKGBUILD +++ b/abs/core/nvidia-utils/PKGBUILD @@ -1,26 +1,21 @@ -# $Id: PKGBUILD 199766 2013-11-15 21:30:02Z svenstaro $ +# $Id$ # Maintainer: Thomas Baechler <thomas@archlinux.org> # Contributor: James Rayner <iphitus@gmail.com> pkgbase=nvidia-utils pkgname=('nvidia-utils' 'nvidia-libgl' 'opencl-nvidia') -pkgver=331.20 +pkgver=331.49 pkgrel=1 arch=('i686' 'x86_64') url="http://www.nvidia.com/" license=('custom') options=('!strip') +source=("ftp://download.nvidia.com/XFree86/Linux-x86/${pkgver}/NVIDIA-Linux-x86-${pkgver}.run" + "ftp://download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/NVIDIA-Linux-x86_64-${pkgver}-no-compat32.run") +sha1sums=('3ab5c9e3b206cdb93baf6ea17dafe1486dbaa03f' + '72f7c25ba94041a80f81a8d8bf025ef680ed1f4f') -if [ "$CARCH" = "i686" ]; then - _arch='x86' - _pkg="NVIDIA-Linux-${_arch}-${pkgver}" - source=("ftp://download.nvidia.com/XFree86/Linux-${_arch}/${pkgver}/${_pkg}.run") - md5sums+=('801aa04a087891690f1cac09575b2ba9') -elif [ "$CARCH" = "x86_64" ]; then - _arch='x86_64' - _pkg="NVIDIA-Linux-${_arch}-${pkgver}-no-compat32" - source=("ftp://download.nvidia.com/XFree86/Linux-${_arch}/${pkgver}/${_pkg}.run") - md5sums+=('28295eed56c2ca996401c0093279620f') -fi +[[ "$CARCH" = "i686" ]] && _pkg="NVIDIA-Linux-x86-${pkgver}" +[[ "$CARCH" = "x86_64" ]] && _pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32" create_links() { # create soname links @@ -48,6 +43,9 @@ package_opencl-nvidia() { install -D -m755 "libnvidia-opencl.so.${pkgver}" "${pkgdir}/usr/lib/libnvidia-opencl.so.${pkgver}" create_links + + mkdir -p "${pkgdir}/usr/share/licenses" + ln -s nvidia "${pkgdir}/usr/share/licenses/opencl-nvidia" } package_nvidia-libgl() { @@ -65,6 +63,9 @@ package_nvidia-libgl() { ln -s "/usr/lib/nvidia/libGL.so.${pkgver}" "${pkgdir}/usr/lib/libGL.so.${pkgver}" ln -s "libGL.so.${pkgver}" "${pkgdir}/usr/lib/libGL.so.1" ln -s "libGL.so.${pkgver}" "${pkgdir}/usr/lib/libGL.so" + + mkdir -p "${pkgdir}/usr/share/licenses" + ln -s nvidia "${pkgdir}/usr/share/licenses/nvidia-libgl" } package_nvidia-utils() { @@ -121,4 +122,3 @@ package_nvidia-utils() { create_links } -md5sums=('28295eed56c2ca996401c0093279620f') |