Date: Thursday, October 18, 2018 @ 15:48:50 Author: andyrtr Revision: 336832
archrelease: copy trunk to testing-x86_64 Added: nvidia-lts/repos/testing-x86_64/PKGBUILD (from rev 336831, nvidia-lts/trunk/PKGBUILD) Deleted: nvidia-lts/repos/testing-x86_64/PKGBUILD ----------+ PKGBUILD | 84 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 42 insertions(+), 42 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-10-18 15:48:38 UTC (rev 336831) +++ PKGBUILD 2018-10-18 15:48:50 UTC (rev 336832) @@ -1,42 +0,0 @@ -# Maintainer: Eric Bélanger <e...@archlinux.org> - -pkgname=nvidia-lts -pkgver=410.66 -_extramodules=extramodules-4.14-lts -pkgrel=1 -epoch=1 -arch=('x86_64') -url="http://www.nvidia.com/" -makedepends=("nvidia-utils=${pkgver}" 'linux-lts' 'linux-lts-headers>=4.14.74') -provides=('nvidia') -license=('custom') -options=('!strip') -_pkg="NVIDIA-Linux-x86_64-${pkgver}" -source=("http://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/${_pkg}.run") -sha512sums=('1773ea5150822735cf02808df68cd2f9ff8b502633632a7748b4bff387daec44527f1bfb0508938c9eee7fb12ac070b99b3f5a903e592bf6d9c6461f4f7a7e9e') - -prepare() { - sh "${_pkg}.run" --extract-only - cd "${_pkg}" -} - -build() { - _kernver="$(cat /usr/lib/modules/${_extramodules}/version)" - cd "${_pkg}"/kernel - make SYSSRC=/usr/lib/modules/"${_kernver}/build" module -} - -package() { - pkgdesc="NVIDIA drivers for linux-lts" - depends=('linux-lts>=4.14.74' "nvidia-utils=${pkgver}" 'libgl') - - install -Dt "${pkgdir}/usr/lib/modules/${_extramodules}" -m644 \ - "${srcdir}/${_pkg}/kernel"/nvidia{,-modeset,-drm,-uvm}.ko - - find "${pkgdir}" -name '*.ko' -exec gzip -n {} + - - echo "blacklist nouveau" | - install -Dm644 /dev/stdin "${pkgdir}/usr/lib/modprobe.d/${pkgname}.conf" - - install -Dt "${pkgdir}/usr/share/licenses/${pkgname}" -m644 "${srcdir}/${_pkg}/LICENSE" -} Copied: nvidia-lts/repos/testing-x86_64/PKGBUILD (from rev 336831, nvidia-lts/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-10-18 15:48:50 UTC (rev 336832) @@ -0,0 +1,42 @@ +# Maintainer: Eric Bélanger <e...@archlinux.org> + +pkgname=nvidia-lts +pkgver=410.66 +_extramodules=extramodules-4.14-lts +pkgrel=2 +epoch=1 +arch=('x86_64') +url="http://www.nvidia.com/" +makedepends=("nvidia-utils=${pkgver}" 'linux-lts' 'linux-lts-headers>=4.14.77') +provides=('nvidia') +license=('custom') +options=('!strip') +_pkg="NVIDIA-Linux-x86_64-${pkgver}" +source=("http://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/${_pkg}.run") +sha512sums=('1773ea5150822735cf02808df68cd2f9ff8b502633632a7748b4bff387daec44527f1bfb0508938c9eee7fb12ac070b99b3f5a903e592bf6d9c6461f4f7a7e9e') + +prepare() { + sh "${_pkg}.run" --extract-only + cd "${_pkg}" +} + +build() { + _kernver="$(cat /usr/lib/modules/${_extramodules}/version)" + cd "${_pkg}"/kernel + make SYSSRC=/usr/lib/modules/"${_kernver}/build" module +} + +package() { + pkgdesc="NVIDIA drivers for linux-lts" + depends=('linux-lts>=4.14.77' "nvidia-utils=${pkgver}" 'libgl') + + install -Dt "${pkgdir}/usr/lib/modules/${_extramodules}" -m644 \ + "${srcdir}/${_pkg}/kernel"/nvidia{,-modeset,-drm,-uvm}.ko + + find "${pkgdir}" -name '*.ko' -exec gzip -n {} + + + echo "blacklist nouveau" | + install -Dm644 /dev/stdin "${pkgdir}/usr/lib/modprobe.d/${pkgname}.conf" + + install -Dt "${pkgdir}/usr/share/licenses/${pkgname}" -m644 "${srcdir}/${_pkg}/LICENSE" +}