blob: f3ab2fa9338beb8524b0e3ee6a9bf0b2721db2e0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# $Id: PKGBUILD 110422 2014-04-29 12:32:52Z flexiondotorg $
# Maintainer: Martin Wimpress <code@flexion.org>
pkgname=libxnvctrl
pkgver=337.12
pkgrel=1
pkgdesc="NVIDIA X Ctrl library"
arch=('i686' 'x86_64')
url="http://www.nvidia.com/"
license=('GPL2')
makedepends=('libxext')
options=('staticlibs')
source=("http://download.nvidia.com/XFree86/nvidia-settings/nvidia-settings-${pkgver}.tar.bz2")
sha1sums=('d416d8f629576a821f4829d592eda84304e4f743')
build() {
cd "nvidia-settings-$pkgver/src/libXNVCtrl"
make clean
make
}
package() {
cd "nvidia-settings-$pkgver/src/libXNVCtrl"
# install libXNVCtrl and headers
install -d -m 755 "$pkgdir"/usr/{include/NVCtrl,lib}
install -m 644 nv_control.h NVCtrl{,Lib}.h "$pkgdir"/usr/include/NVCtrl/
install -m 644 libXNVCtrl.a "$pkgdir"/usr/lib/libXNVCtrl.a
}
|