# $Id: PKGBUILD 172856 2012-12-06 08:21:57Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdegraphics-kcolorchooser pkgver=4.9.4 pkgrel=1 pkgdesc="Color Chooser" url="http://kde.org/applications/graphics/kcolorchooser/" arch=('i686' 'x86_64' 'mips64el') license=('GPL' 'LGPL' 'FDL') groups=('kde' 'kdegraphics') depends=('kdebase-runtime') makedepends=('cmake' 'automoc4') install=${pkgname}.install source=("http://download.kde.org/stable/${pkgver}/src/kcolorchooser-${pkgver}.tar.xz") sha1sums=('c8c41d4724e689cf70028bafb3bb705fe90607ea') build() { cd "${srcdir}" mkdir build cd build cmake ../kcolorchooser-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr make } package() { cd "${srcdir}"/build make DESTDIR="${pkgdir}" install }