# $Id: PKGBUILD 189598 2013-07-03 17:03:22Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdegraphics-svgpart pkgver=4.10.5 pkgrel=1 pkgdesc="A KPart for viewing SVGs" url="https://projects.kde.org/projects/kde/kdegraphics/svgpart" 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/svgpart-${pkgver}.tar.xz") sha1sums=('fcd7759b4a92217c93188ed82e4cff7817013bb5') build() { cd "${srcdir}" mkdir build cd build cmake ../svgpart-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DKDE4_BUILD_TESTS=OFF \ -DCMAKE_INSTALL_PREFIX=/usr make } package() { cd "${srcdir}"/build make DESTDIR="${pkgdir}" install }