updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / libxnvctrl / PKGBUILD
blob79487156a5ff79b65f1c54efcc4aba4832e6e959
1 # Maintainer: Alessio Sergi <asergi at archlinux dot us>
3 pkgname=libxnvctrl
4 pkgver=290.10
5 pkgrel=1
6 pkgdesc="NVIDIA Ctrl X library"
7 arch=('i686' 'x86_64')
8 url="http://www.nvidia.com/"
9 license=('GPL2')
10 makedepends=('libx11' 'libxext' 'xextproto')
11 source=(ftp://download.nvidia.com/XFree86/nvidia-settings/nvidia-settings-290.10.tar.bz2)
12 md5sums=('34bfcb2944558d4fbe09f8a634fce4c1')
14 build() {
15   cd "nvidia-settings-${pkgver}/src/libXNVCtrl"
17   export CFLAGS="${CFLAGS} -fPIC"
19   make clean
20   make
23 package() {
24   cd "nvidia-settings-${pkgver}/src/libXNVCtrl"
26   # install libXNVCtrl and headers
27   install -d -m755 "${pkgdir}"/usr/{include/NVCtrl,lib}
28   install -m644 nv_control.h NVCtrl{,Lib}.h "${pkgdir}/usr/include/NVCtrl/"
29   install -m644 libXNVCtrl.a "${pkgdir}/usr/lib/libXNVCtrl.a"
32 # vim:set ts=2 sw=2 et: