# $Id: PKGBUILD 152592 2012-03-07 16:16:21Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdegraphics-svgpart pkgver=4.8.1 pkgrel=1 pkgdesc="A KPart for viewving SVGs" url="http://kde.org/" arch=('i686' 'x86_64' 'mips64el') license=('GPL' 'LGPL' 'FDL') depends=('kdelibs') makedepends=('cmake' 'automoc4') replaces=('kdegraphics-libs') conflicts=('kdegraphics-libs') source=("http://download.kde.org/stable/${pkgver}/src/xz/svgpart-${pkgver}.tar.xz") sha1sums=('2332156b52c9f1a33cc0f0cb9d64f01aaf38f9bc') 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 }