[arch-commits] Commit in nvidia-lts/repos/testing-x86_64 (PKGBUILD PKGBUILD)
Jan Steffens
heftig at archlinux.org
Fri Dec 13 13:31:25 UTC 2019
Date: Friday, December 13, 2019 @ 13:31:24
Author: heftig
Revision: 371359
archrelease: copy trunk to testing-x86_64
Added:
nvidia-lts/repos/testing-x86_64/PKGBUILD
(from rev 371358, nvidia-lts/trunk/PKGBUILD)
Deleted:
nvidia-lts/repos/testing-x86_64/PKGBUILD
----------+
PKGBUILD | 84 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 42 insertions(+), 42 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-12-13 13:31:22 UTC (rev 371358)
+++ PKGBUILD 2019-12-13 13:31:24 UTC (rev 371359)
@@ -1,42 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
-# Maintainer: Eric Bélanger <eric at archlinux.org>
-
-pkgname=nvidia-lts
-pkgver=440.44
-pkgrel=1
-epoch=1
-pkgdesc="NVIDIA drivers for linux-lts"
-arch=('x86_64')
-url="https://www.nvidia.com/"
-makedepends=("nvidia-utils=${pkgver}" 'libglvnd' 'linux-lts-headers')
-provides=('nvidia')
-license=('custom')
-options=('!strip')
-_pkg="NVIDIA-Linux-x86_64-${pkgver}"
-source=("https://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/${_pkg}.run")
-sha512sums=('c0c0e19cdb82d47575adbcf46e23580977cf7a5097edfb9d76464c2e678a44f556d8c2d0d49515a86b6765f57176460193c6951927e24c278e6a7f411f89f26b')
-
-prepare() {
- sh "${_pkg}.run" --extract-only
- cd "${_pkg}"
-}
-
-build() {
- cd "${_pkg}"/kernel
- make SYSSRC=/usr/src/linux-lts module
-}
-
-package() {
- depends=('linux-lts' "nvidia-utils=${pkgver}" 'libglvnd')
-
- _extradir="/usr/lib/modules/$(</usr/src/linux-lts/version)/extramodules"
- install -Dt "${pkgdir}${_extradir}" -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 371358, nvidia-lts/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-12-13 13:31:24 UTC (rev 371359)
@@ -0,0 +1,42 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=nvidia-lts
+pkgver=440.44
+pkgrel=2
+epoch=1
+pkgdesc="NVIDIA drivers for linux-lts"
+arch=('x86_64')
+url="https://www.nvidia.com/"
+makedepends=("nvidia-utils=${pkgver}" 'libglvnd' 'linux-lts-headers')
+provides=('nvidia')
+license=('custom')
+options=('!strip')
+_pkg="NVIDIA-Linux-x86_64-${pkgver}"
+source=("https://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/${_pkg}.run")
+sha512sums=('c0c0e19cdb82d47575adbcf46e23580977cf7a5097edfb9d76464c2e678a44f556d8c2d0d49515a86b6765f57176460193c6951927e24c278e6a7f411f89f26b')
+
+prepare() {
+ sh "${_pkg}.run" --extract-only
+ cd "${_pkg}"
+}
+
+build() {
+ cd "${_pkg}"/kernel
+ make SYSSRC=/usr/src/linux-lts module
+}
+
+package() {
+ depends=('linux-lts' "nvidia-utils=${pkgver}" 'libglvnd')
+
+ _extradir="/usr/lib/modules/$(</usr/src/linux-lts/version)/extramodules"
+ install -Dt "${pkgdir}${_extradir}" -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"
+}
More information about the arch-commits
mailing list