summaryrefslogtreecommitdiffstats
path: root/abs/extra
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra')
-rw-r--r--abs/extra/jansson/PKGBUILD29
-rw-r--r--abs/extra/libglvnd/PKGBUILD6
-rw-r--r--abs/extra/nvidia-settings/PKGBUILD35
3 files changed, 67 insertions, 3 deletions
diff --git a/abs/extra/jansson/PKGBUILD b/abs/extra/jansson/PKGBUILD
new file mode 100644
index 0000000..a263809
--- /dev/null
+++ b/abs/extra/jansson/PKGBUILD
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd@gmail.com>
+# Contributor: Dave Reisner <d@falconindy.com>
+
+pkgname=jansson
+pkgver=2.7
+pkgrel=1
+pkgdesc='C library for encoding, decoding and manipulating JSON data'
+arch=('i686' 'x86_64')
+url='http://www.digip.org/jansson/'
+depends=('glibc')
+license=('MIT')
+options=('staticlibs')
+source=("http://www.digip.org/$pkgname/releases/$pkgname-$pkgver.tar.bz2")
+md5sums=('ffac352f9c5f80a6ae8145d451af2c0e')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/abs/extra/libglvnd/PKGBUILD b/abs/extra/libglvnd/PKGBUILD
index b3ef540..f79af81 100644
--- a/abs/extra/libglvnd/PKGBUILD
+++ b/abs/extra/libglvnd/PKGBUILD
@@ -2,9 +2,9 @@
# Maintainer: Felix Yan <felixonmars@archlinux.org>
pkgname=libglvnd
-pkgver=0.0.0.20160210
-_commit=236710018777d8b16f62b5c275e3ee95af7052cd
-pkgrel=2
+pkgver=0.1.0.20160411
+_commit=5a69af6
+pkgrel=1
pkgdesc="The GL Vendor-Neutral Dispatch library"
arch=('i686' 'x86_64')
url="https://github.com/NVIDIA/libglvnd"
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"
+}