# $Id: PKGBUILD 132619 2011-07-25 00:15:02Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdegraphics-kgamma pkgver=4.7.0 pkgrel=1 pkgdesc="A monitor calibration tool" url="http://kde.org/applications/graphics/kgamma/" arch=('i686' 'x86_64' 'mips64el') 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=('4534ea82e0d1f48414f1380e22d7aa8e7e50db98') 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 }