summaryrefslogtreecommitdiff
path: root/community/kpovmodeler/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/kpovmodeler/PKGBUILD')
-rw-r--r--community/kpovmodeler/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/community/kpovmodeler/PKGBUILD b/community/kpovmodeler/PKGBUILD
new file mode 100644
index 000000000..e874a0c30
--- /dev/null
+++ b/community/kpovmodeler/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 27553 2010-09-25 08:31:17Z andrea $
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+# Contributor: Pierre Schmitz <pierre@archlinux.de>
+
+pkgname=kpovmodeler
+pkgver=1.1.3
+_kdever=4.1.1
+pkgrel=3
+pkgdesc="A graphical editor for povray scenes"
+arch=('i686' 'x86_64')
+url='http://kpovmodeler.org'
+license=('GPL' 'LGPL' 'FDL')
+depends=('kdebase-runtime' 'povray')
+makedepends=('pkgconfig' 'cmake' 'automoc4')
+options=('docs')
+install=${pkgname}.install
+source=("http://kpovmodeler.org/files/${pkgname}-${pkgver}-kde${_kdever}.tar.bz2")
+md5sums=('aee8461cc813bb8e21ece3339c677288')
+
+build() {
+ cd ${srcdir}
+ mkdir build
+ cd build
+ cmake ../${pkgname}-${pkgver}-kde${_kdever} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd ${srcdir}/build
+ make DESTDIR=${pkgdir} install
+}