diff options
author | Britney Fransen <brfransen@gmail.com> | 2016-05-18 17:47:28 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2016-05-18 17:47:28 (GMT) |
commit | 15728615b488c6c5d5f02d5d73beb3fc01cb7c46 (patch) | |
tree | 4260aa711fe73b6f513f57a23d0c2fa738a762d8 /abs/extra | |
parent | 309cb196a638324b9fbb7d02a137b1ccb83724c9 (diff) | |
download | linhes_pkgbuild-15728615b488c6c5d5f02d5d73beb3fc01cb7c46.zip linhes_pkgbuild-15728615b488c6c5d5f02d5d73beb3fc01cb7c46.tar.gz linhes_pkgbuild-15728615b488c6c5d5f02d5d73beb3fc01cb7c46.tar.bz2 |
nvidia-settings: initial inclusion; 364.19
Diffstat (limited to 'abs/extra')
-rw-r--r-- | abs/extra/nvidia-settings/PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
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 <felixonmars@archlinux.org> + +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" +} |