mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
26 lines
905 B
Bash
26 lines
905 B
Bash
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
|
# Maintainer: Roman Kyrylych <roman@archlinux.org>
|
|
# Contributor: Roman Kyrylych <roman@archlinux.org>
|
|
|
|
pkgname=libxnvctrl
|
|
pkgver=1.16
|
|
pkgrel=1.1
|
|
pkgdesc="NVCtrl library"
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.nvidia.com/"
|
|
license=('GPL')
|
|
makedepends=('libx11' 'xextproto')
|
|
source=(ftp://download.nvidia.com/XFree86/nvidia-settings/nvidia-settings-173.14.05.tar.gz)
|
|
md5sums=('de4794122256d1d2a771c49ce434087a')
|
|
|
|
build() {
|
|
cd $startdir/src/nvidia-settings-1.0/src/libXNVCtrl
|
|
[ "${CARCH}" = "x86_64" ] && export CFLAGS="${CFLAGS} -fPIC"
|
|
make clean
|
|
make || return 1
|
|
|
|
install -Dm644 libXNVCtrl.a $startdir/pkg/usr/lib/libXNVCtrl.a
|
|
install -Dm644 NVCtrl.h $startdir/pkg/usr/include/NVCtrl/NVCtrl.h
|
|
install -Dm644 NVCtrlLib.h $startdir/pkg/usr/include/NVCtrl/NVCtrlLib.h
|
|
install -Dm644 nv_control.h $startdir/pkg/usr/include/NVCtrl/nv_control.h
|
|
}
|