From 15728615b488c6c5d5f02d5d73beb3fc01cb7c46 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Wed, 18 May 2016 17:47:28 +0000 Subject: nvidia-settings: initial inclusion; 364.19 --- abs/extra/nvidia-settings/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 abs/extra/nvidia-settings/PKGBUILD diff --git a/abs/extra/nvidia-settings/PKGBUILD b/abs/extra/nvidia-settings/PKGBUILD new file mode 100644 index 0000000..2330008 --- /dev/null +++ b/abs/extra/nvidia-settings/PKGBUILD @@ -0,0 +1,35 @@ +# $Id$ +# Maintainer: Felix Yan + +pkgname=nvidia-settings +pkgver=364.19 +pkgrel=1 +pkgdesc="Tool for configuring the NVIDIA graphics driver" +arch=('i686' 'x86_64') +url="https://github.com/NVIDIA/nvidia-settings" +license=('GPL2') +depends=('jansson' 'gtk3' 'libxv' 'libvdpau' 'nvidia-utils') +makedepends=('git' 'inetutils' 'gtk2') +source=("git+https://github.com/NVIDIA/nvidia-settings#tag=$pkgver") +sha1sums=('SKIP') + +prepare() { + export PREFIX=/usr + export NV_USE_BUNDLED_LIBJANSSON=0 +} + +build() { + cd ${pkgname} + make +} + +package() { + cd ${pkgname} + make DESTDIR="${pkgdir}" install + + install -D -m644 doc/nvidia-settings.desktop "${pkgdir}/usr/share/applications/nvidia-settings.desktop" + install -D -m644 doc/nvidia-settings.png "${pkgdir}/usr/share/pixmaps/nvidia-settings.png" + sed -e 's:__UTILS_PATH__:/usr/bin:' -e 's:__PIXMAP_PATH__:/usr/share/pixmaps:' -i "${pkgdir}/usr/share/applications/nvidia-settings.desktop" + + rm "$pkgdir/usr/lib/libnvidia-gtk2.so.$pkgver" +} -- cgit v0.12