PKGBUILDs/extra/kpovmodeler/PKGBUILD
2009-10-09 21:23:22 -05:00

29 lines
742 B
Bash

# $Id: $
# Maintainer: Pierre Schmitz <pierre@archlinux.de>
pkgname=kpovmodeler
pkgver=1.1.3
_kdever=4.1.3
pkgrel=2
pkgdesc="A graphical editor for povray scenes"
arch=('i686' 'x86_64')
url='http://www.kde.org'
license=('GPL' 'LGPL' 'FDL')
groups=('kde-extragear')
depends=('kdebase-runtime' 'povray')
makedepends=('pkgconfig' 'cmake' 'automoc4')
options=('docs')
install='kpovmodeler.install'
source=("http://download.kde.org/stable/${_kdever}/src/extragear/${pkgname}-${pkgver}-kde${_kdever}.tar.bz2")
md5sums=('e834b4a5690d1db8898c7862216c171a')
build() {
cd $srcdir
mkdir build
cd build
cmake ../${pkgname}-${pkgver}-kde${_kdever} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
make DESTDIR=$pkgdir install
}