summaryrefslogtreecommitdiff
path: root/community/kpovmodeler/PKGBUILD
blob: ebe6882e7a8ef9769064bea32a5acdcf580eb45e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# $Id: PKGBUILD 57931 2011-11-04 17:14:03Z lcarlier $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Pierre Schmitz <pierre@archlinux.de>

pkgname=kpovmodeler
pkgver=1.1.3
_kdever=4.1.1
pkgrel=4
pkgdesc="A graphical editor for povray scenes"
arch=('i686' 'x86_64' 'mips64el')
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
}