summaryrefslogtreecommitdiff
path: root/kde-unstable/kdegraphics-svgpart/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'kde-unstable/kdegraphics-svgpart/PKGBUILD')
-rw-r--r--kde-unstable/kdegraphics-svgpart/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/kde-unstable/kdegraphics-svgpart/PKGBUILD b/kde-unstable/kdegraphics-svgpart/PKGBUILD
new file mode 100644
index 000000000..91e5f74ba
--- /dev/null
+++ b/kde-unstable/kdegraphics-svgpart/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 160148 2012-05-29 23:00:09Z andrea $
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+
+pkgname=kdegraphics-svgpart
+pkgver=4.8.80
+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=('812a5b8972137d3edb9cd0c922f4e5630374500f')
+
+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
+}