# $Id: PKGBUILD 162614 2012-06-27 13:38:39Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdegraphics-svgpart pkgver=4.8.95 pkgrel=1 pkgdesc="A KPart for viewving SVGs" url="https://projects.kde.org/projects/kde/kdegraphics/svgpart" arch=('i686' 'x86_64') license=('GPL' 'LGPL' 'FDL') depends=('kdelibs') makedepends=('cmake' 'automoc4') replaces=('kdegraphics-libs') conflicts=('kdegraphics-libs') source=("http://download.kde.org/unstable/${pkgver}/src/svgpart-${pkgver}.tar.xz") sha1sums=('b746419776ee3c5dbd956de86bb6417675771114') 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 }