summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlonso2020-04-09 16:21:47 +0200
committerAlonso2020-04-09 16:21:47 +0200
commit16091be4c0b33a5210217f17f2717935b6e3abf9 (patch)
tree6370b42032bce8d3341408e7a2693db5db342f72
parent98eed84a582622fe8be22b3390f3517d4f4772b1 (diff)
downloadaur-16091be4c0b33a5210217f17f2717935b6e3abf9.tar.gz
moved export so it works with yay
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD9
2 files changed, 7 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 531a80e9e4a..d2bb1acb907 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = nvidia-390xx-settings
pkgdesc = Tool for configuring the NVIDIA graphics driver, 390xx legacy branch
pkgver = 390.132
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/NVIDIA/nvidia-settings
arch = x86_64
license = GPL2
diff --git a/PKGBUILD b/PKGBUILD
index 89f0f9972c0..247060cf41e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,9 +1,10 @@
+# Maintainer: Alonso Rodriguez <alonsorodi20 (at) gmail (dot) com>
# Maintainer: Sven-Hendrik Haase <svenstaro@gmail.com>
pkgbase=nvidia-390xx-settings
pkgname=('nvidia-390xx-settings' 'libxnvctrl-390xx')
pkgver=390.132
-pkgrel=1
+pkgrel=2
pkgdesc='Tool for configuring the NVIDIA graphics driver, 390xx legacy branch'
url='https://github.com/NVIDIA/nvidia-settings'
arch=('x86_64')
@@ -16,13 +17,15 @@ sha512sums=('ad6836c8b002478fe7b76fb7df6b685686e73ba0849533f5d2c6cc0ca489f212556
'f69f5dc84fe624579a3c9ce877f4ae4e34c2184877576afbea07b8abdd7ff01e470517f2b77cd11a904518cbcb83fb388ca1d08888006f0ef2854723920c9cf8')
prepare() {
- export PREFIX=/usr
- export NV_USE_BUNDLED_LIBJANSSON=0
cd nvidia-settings-${pkgver}
patch -p1 < "${srcdir}/libxnvctrl_so.patch"
}
build() {
+ # Set env variables
+ export PREFIX=/usr
+ export NV_USE_BUNDLED_LIBJANSSON=0
+
cd nvidia-settings-${pkgver}
make
make -C src/libXNVCtrl