# $Id: PKGBUILD 153172 2012-03-12 09:30:49Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdegraphics-kcolorchooser pkgver=4.8.1 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=('b82a86ac95ca9b4c1dbd66b8164ce855232fec69') 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 }