# $Id: PKGBUILD 143396 2011-11-24 16:16:05Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdegraphics-kolourpaint pkgver=4.7.80 pkgrel=1 pkgdesc="Paint Program" url="http://kde.org/applications/graphics/kolourpaint/" arch=('i686' 'x86_64') license=('GPL' 'LGPL' 'FDL') groups=('kde' 'kdegraphics') depends=('kdebase-runtime' 'qimageblitz') makedepends=('cmake' 'automoc4') install=${pkgname}.install source=("http://download.kde.org/unstable/${pkgver}/src/kolourpaint-${pkgver}.tar.bz2") sha1sums=('7d2e2eee77fe9307eef18cb5accd476fbb55fa57') build() { cd "${srcdir}" mkdir build cd build cmake ../kolourpaint-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr make } package() { cd "${srcdir}"/build make DESTDIR="${pkgdir}" install }