1 # Maintainer: Alessio Sergi <asergi at archlinux dot us>
6 pkgdesc="NVIDIA Ctrl X library"
8 url="http://www.nvidia.com/"
10 makedepends=('libx11' 'libxext' 'xextproto')
11 source=(ftp://download.nvidia.com/XFree86/nvidia-settings/nvidia-settings-290.10.tar.bz2)
12 md5sums=('34bfcb2944558d4fbe09f8a634fce4c1')
15 cd "nvidia-settings-${pkgver}/src/libXNVCtrl"
17 export CFLAGS="${CFLAGS} -fPIC"
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: