# $Id: PKGBUILD 139998 2011-10-05 19:11:51Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdegraphics-kgamma pkgver=4.7.2 pkgrel=1 pkgdesc="A monitor calibration tool" url="http://kde.org/applications/graphics/kgamma/" arch=('i686' 'x86_64') license=('GPL' 'LGPL' 'FDL') groups=('kde' 'kdegraphics') # note on libxxf86vm: # not detected by namcap because libgl depends on it # but nvidia providing libgl does not depend on libxxf86vm depends=('kdebase-runtime' 'libxxf86vm') makedepends=('cmake' 'automoc4') source=("http://download.kde.org/stable/${pkgver}/src/kgamma-${pkgver}.tar.bz2") sha1sums=('3f8cf9bf169a0bc058d0de610bfa4910c54ef475') build() { cd "${srcdir}" mkdir build cd build cmake ../kgamma-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr make } package() { cd "${srcdir}"/build make DESTDIR="${pkgdir}" install }