# $Id: PKGBUILD 147627 2012-01-25 23:49:14Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdegraphics-svgpart pkgver=4.8.0 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') replaces=('kdegraphics-libs') conflicts=('kdegraphics-libs') source=("http://download.kde.org/stable/${pkgver}/src/svgpart-${pkgver}.tar.bz2") sha1sums=('bd432a31976cb64c41035382a8133332aa184c2a') 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 }