Date: Tuesday, February 26, 2013 @ 19:29:07 Author: dwallace Revision: 85018
archrelease: copy trunk to multilib-x86_64 Added: lib32-nvidia-utils/repos/multilib-x86_64/PKGBUILD (from rev 85017, lib32-nvidia-utils/trunk/PKGBUILD) Deleted: lib32-nvidia-utils/repos/multilib-x86_64/PKGBUILD ----------+ PKGBUILD | 122 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 61 insertions(+), 61 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2013-02-26 18:28:48 UTC (rev 85017) +++ PKGBUILD 2013-02-26 18:29:07 UTC (rev 85018) @@ -1,61 +0,0 @@ -# $Id$ -# Maintainer: Thomas Baechler <tho...@archlinux.org> -# Contributor: James Rayner <iphi...@gmail.com> - -_pkgbasename=nvidia-utils -pkgname=lib32-$_pkgbasename -pkgver=313.18 -pkgrel=3 -pkgdesc="NVIDIA drivers utilities and libraries. (32-bit)" -arch=('x86_64') -url="http://www.nvidia.com/" -depends=('lib32-zlib' 'lib32-gcc-libs' $_pkgbasename) -conflicts=('lib32-mesa-libgl') -provides=('lib32-mesa-libgl' 'lib32-libgl') -license=('custom') -options=('!strip') - -_arch='x86' -_pkg="NVIDIA-Linux-${_arch}-${pkgver}" -source=("ftp://download.nvidia.com/XFree86/Linux-${_arch}/${pkgver}/${_pkg}.run") -md5sums=('780c37c28a6e06e9571cafe348b7da64') - -build() { - cd "${srcdir}" - sh ${_pkg}.run --extract-only -} - -package() { - cd "${srcdir}/${_pkg}" - - # OpenGL library - install -D -m755 libGL.so.${pkgver} "${pkgdir}/usr/lib32/libGL.so.${pkgver}" - # OpenGL core library - install -D -m755 libnvidia-glcore.so.${pkgver} "${pkgdir}/usr/lib32/libnvidia-glcore.so.${pkgver}" - # VDPAU - install -D -m755 libvdpau_nvidia.so.${pkgver} "${pkgdir}/usr/lib32/vdpau/libvdpau_nvidia.so.${pkgver}" - # CUDA - install -D -m755 libcuda.so.${pkgver} "${pkgdir}/usr/lib32/libcuda.so.${pkgver}" - install -D -m755 libnvcuvid.so.${pkgver} "${pkgdir}/usr/lib32/libnvcuvid.so.${pkgver}" - # nvidia-tls library - install -D -m755 tls/libnvidia-tls.so.${pkgver} "${pkgdir}/usr/lib32/libnvidia-tls.so.${pkgver}" - # OpenCL - install -D -m755 libnvidia-compiler.so.${pkgver} "${pkgdir}/usr/lib32/libnvidia-compiler.so.${pkgver}" - install -D -m755 libOpenCL.so.1.0.0 "${pkgdir}/usr/lib32/libOpenCL.so.1.0.0" - - install -D -m755 libnvidia-cfg.so.${pkgver} "${pkgdir}/usr/lib32/libnvidia-cfg.so.${pkgver}" - install -D -m755 libnvidia-ml.so.${pkgver} "${pkgdir}/usr/lib32/libnvidia-ml.so.${pkgver}" - - # create soname links - for _lib in $(find "${pkgdir}" -name '*.so*'); do - _soname="$(dirname ${_lib})/$(LC_ALL=C readelf -d "$_lib" | sed -nr 's/.*Library soname: \[(.*)\].*/\1/p')" - if [ ! -e "${_soname}" ]; then - ln -s "$(basename ${_lib})" "${_soname}" - ln -s "$(basename ${_soname})" "${_soname/.[0-9]*/}" - fi - done - - rm -rf "${pkgdir}"/usr/{include,share,bin} - mkdir -p "${pkgdir}/usr/share/licenses" - ln -s $_pkgbasename "${pkgdir}/usr/share/licenses/${pkgname}" -} Copied: lib32-nvidia-utils/repos/multilib-x86_64/PKGBUILD (from rev 85017, lib32-nvidia-utils/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2013-02-26 18:29:07 UTC (rev 85018) @@ -0,0 +1,61 @@ +# $Id$ +# Maintainer: Thomas Baechler <tho...@archlinux.org> +# Contributor: James Rayner <iphi...@gmail.com> + +_pkgbasename=nvidia-utils +pkgname=lib32-$_pkgbasename +pkgver=313.18 +pkgrel=4 +pkgdesc="NVIDIA drivers utilities and libraries. (32-bit)" +arch=('x86_64') +url="http://www.nvidia.com/" +depends=('lib32-zlib' 'lib32-gcc-libs' $_pkgbasename) +conflicts=('lib32-libgl') +provides=('lib32-libgl') +license=('custom') +options=('!strip') + +_arch='x86' +_pkg="NVIDIA-Linux-${_arch}-${pkgver}" +source=("ftp://download.nvidia.com/XFree86/Linux-${_arch}/${pkgver}/${_pkg}.run") +md5sums=('780c37c28a6e06e9571cafe348b7da64') + +build() { + cd "${srcdir}" + sh ${_pkg}.run --extract-only +} + +package() { + cd "${srcdir}/${_pkg}" + + # OpenGL library + install -D -m755 libGL.so.${pkgver} "${pkgdir}/usr/lib32/libGL.so.${pkgver}" + # OpenGL core library + install -D -m755 libnvidia-glcore.so.${pkgver} "${pkgdir}/usr/lib32/libnvidia-glcore.so.${pkgver}" + # VDPAU + install -D -m755 libvdpau_nvidia.so.${pkgver} "${pkgdir}/usr/lib32/vdpau/libvdpau_nvidia.so.${pkgver}" + # CUDA + install -D -m755 libcuda.so.${pkgver} "${pkgdir}/usr/lib32/libcuda.so.${pkgver}" + install -D -m755 libnvcuvid.so.${pkgver} "${pkgdir}/usr/lib32/libnvcuvid.so.${pkgver}" + # nvidia-tls library + install -D -m755 tls/libnvidia-tls.so.${pkgver} "${pkgdir}/usr/lib32/libnvidia-tls.so.${pkgver}" + # OpenCL + install -D -m755 libnvidia-compiler.so.${pkgver} "${pkgdir}/usr/lib32/libnvidia-compiler.so.${pkgver}" + install -D -m755 libOpenCL.so.1.0.0 "${pkgdir}/usr/lib32/libOpenCL.so.1.0.0" + + install -D -m755 libnvidia-cfg.so.${pkgver} "${pkgdir}/usr/lib32/libnvidia-cfg.so.${pkgver}" + install -D -m755 libnvidia-ml.so.${pkgver} "${pkgdir}/usr/lib32/libnvidia-ml.so.${pkgver}" + + # create soname links + for _lib in $(find "${pkgdir}" -name '*.so*'); do + _soname="$(dirname ${_lib})/$(LC_ALL=C readelf -d "$_lib" | sed -nr 's/.*Library soname: \[(.*)\].*/\1/p')" + if [ ! -e "${_soname}" ]; then + ln -s "$(basename ${_lib})" "${_soname}" + ln -s "$(basename ${_soname})" "${_soname/.[0-9]*/}" + fi + done + + rm -rf "${pkgdir}"/usr/{include,share,bin} + mkdir -p "${pkgdir}/usr/share/licenses" + ln -s $_pkgbasename "${pkgdir}/usr/share/licenses/${pkgname}" +}