# $Id: PKGBUILD 193323 2013-08-19 09:56:44Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdegraphics-kcolorchooser pkgver=4.11.0 pkgrel=1 pkgdesc="Color Chooser" url="http://kde.org/applications/graphics/kcolorchooser/" arch=('i686' 'x86_64') 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=('6d41705b23ad12051b6b0347408c3ed2db753386') build() { cd "${srcdir}" mkdir build cd build cmake ../kcolorchooser-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DKDE4_BUILD_TESTS=OFF \ -DCMAKE_INSTALL_PREFIX=/usr make } package() { cd "${srcdir}"/build make DESTDIR="${pkgdir}" install }