Date: Thursday, April 29, 2021 @ 21:30:53 Author: svenstaro Revision: 414036
archrelease: copy trunk to testing-x86_64 Added: nvidia/repos/testing-x86_64/PKGBUILD (from rev 414035, nvidia/trunk/PKGBUILD) Deleted: nvidia/repos/testing-x86_64/PKGBUILD ----------+ PKGBUILD | 78 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 39 insertions(+), 39 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-04-29 21:30:47 UTC (rev 414035) +++ PKGBUILD 2021-04-29 21:30:53 UTC (rev 414036) @@ -1,39 +0,0 @@ -# Maintainer: Sven-Hendrik Haase <svenst...@gmail.com> -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Thomas Baechler <tho...@archlinux.org> - -pkgname=nvidia -pkgver=465.27 -pkgrel=1 -pkgdesc="NVIDIA drivers for linux" -arch=('x86_64') -url="https://www.nvidia.com/" -makedepends=('linux-headers' "nvidia-dkms=$pkgver") -provides=('NVIDIA-MODULE') -license=('custom') -options=('!strip') - -build() { - _kernver=$(</usr/src/linux/version) - - fakeroot dkms build --dkmstree "${srcdir}" -m nvidia/${pkgver} -k ${_kernver} -} - -package() { - depends=('linux' "nvidia-utils=${pkgver}" 'libglvnd') - - _kernver="$(</usr/src/linux/version)" - - install -Dt "${pkgdir}/usr/lib/modules/${_kernver}/extramodules" -m644 \ - nvidia/${pkgver}/${_kernver}/${CARCH}/module/* - - # compress each module individually - find "$pkgdir" -name '*.ko' -exec xz -T1 {} + - - echo "blacklist nouveau" | - install -Dm644 /dev/stdin "${pkgdir}/usr/lib/modprobe.d/${pkgname}.conf" - - install -Dt "${pkgdir}/usr/share/licenses/${pkgname}" -m644 \ - /usr/share/licenses/nvidia-dkms/LICENSE -} - Copied: nvidia/repos/testing-x86_64/PKGBUILD (from rev 414035, nvidia/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-04-29 21:30:53 UTC (rev 414036) @@ -0,0 +1,39 @@ +# Maintainer: Sven-Hendrik Haase <svenst...@gmail.com> +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Thomas Baechler <tho...@archlinux.org> + +pkgname=nvidia +pkgver=465.27 +pkgrel=3 +pkgdesc="NVIDIA drivers for linux" +arch=('x86_64') +url="https://www.nvidia.com/" +makedepends=('linux-headers' "nvidia-dkms=$pkgver") +provides=('NVIDIA-MODULE') +license=('custom') +options=('!strip') + +build() { + _kernver=$(</usr/src/linux/version) + + fakeroot dkms build --dkmstree "${srcdir}" -m nvidia/${pkgver} -k ${_kernver} +} + +package() { + depends=('linux' "nvidia-utils=${pkgver}" 'libglvnd') + + _kernver="$(</usr/src/linux/version)" + + install -Dt "${pkgdir}/usr/lib/modules/${_kernver}/extramodules" -m644 \ + nvidia/${pkgver}/${_kernver}/${CARCH}/module/* + + # compress each module individually + find "$pkgdir" -name '*.ko' -exec xz -T1 {} + + + echo "blacklist nouveau" | + install -Dm644 /dev/stdin "${pkgdir}/usr/lib/modprobe.d/${pkgname}.conf" + + install -Dt "${pkgdir}/usr/share/licenses/${pkgname}" -m644 \ + /usr/share/licenses/nvidia-dkms/LICENSE +} +