diff options
Diffstat (limited to 'community/libxnvctrl/PKGBUILD')
-rw-r--r-- | community/libxnvctrl/PKGBUILD | 23 |
1 files changed, 7 insertions, 16 deletions
diff --git a/community/libxnvctrl/PKGBUILD b/community/libxnvctrl/PKGBUILD index c78076a5a..f3ab2fa93 100644 --- a/community/libxnvctrl/PKGBUILD +++ b/community/libxnvctrl/PKGBUILD @@ -1,23 +1,17 @@ -# $Id: PKGBUILD 106469 2014-03-04 03:23:58Z svenstaro $ +# $Id: PKGBUILD 110422 2014-04-29 12:32:52Z flexiondotorg $ # Maintainer: Martin Wimpress <code@flexion.org> pkgname=libxnvctrl -pkgver=334.21 +pkgver=337.12 pkgrel=1 pkgdesc="NVIDIA X Ctrl library" arch=('i686' 'x86_64') url="http://www.nvidia.com/" license=('GPL2') -depends=('libxext') -source=("http://download.nvidia.com/XFree86/nvidia-settings/nvidia-settings-${pkgver}.tar.bz2" - "10_libxnvctrl_so_0.diff") -sha1sums=('eb2ec2257a0401c3c6494f31160d0fa378f638d8' - '84146494a08d4b691e2cff84d1551210eee584dd') - -prepare() { - cd "nvidia-settings-$pkgver" - patch -Np1 -i "${srcdir}/10_libxnvctrl_so_0.diff" -} +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" @@ -30,8 +24,5 @@ package() { # 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.so.0.0.0 "$pkgdir"/usr/lib/ - cd "$pkgdir"/usr/lib/ - ln -s libXNVCtrl.so.0.0.0 libXNVCtrl.so.0 - ln -s libXNVCtrl.so.0 libXNVCtrl.so + install -m 644 libXNVCtrl.a "$pkgdir"/usr/lib/libXNVCtrl.a } |