# $Id: PKGBUILD 128583 2011-06-24 12:55:40Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdegraphics-svgpart pkgver=4.6.90 pkgrel=1 pkgdesc="A KPart for viewving SVGs" url="http://kde.org/" arch=('i686' 'x86_64') license=('GPL' 'LGPL' 'FDL') depends=('kdelibs') makedepends=('cmake' 'automoc4') conflicts=('kdegraphics-libs') source=("http://download.kde.org/unstable/${pkgver}/src/svgpart-${pkgver}.tar.bz2") sha1sums=('85e86bd65d67dce99415f03e189236f7e20ad052') build() { cd "${srcdir}" mkdir build cd build cmake ../svgpart-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr make } package() { cd "${srcdir}"/build make DESTDIR="${pkgdir}" install }