# Maintainer: J. Scheurich pkgname=white_dune pkgver=1.758 pkgrel=1 epoch= pkgdesc="A graphical VRML97/X3D editor, simple NURBS/Superformula 3D modeller, animation tool and VRML97/X3DV commandline compiler." arch=('any') url="http://wdune.ourproject.org/" license=('GPL') groups=() depends=(xorg-fonts-misc xorg-fonts-alias ) makedepends=( # the following are part of base-devel fakeroot gcc flex bison gawk m4 make # end part of base-devel glu mesa libx11 libxt libxmu libxext libxi libxp openmotif libpng libjpeg-turbo zlib expat ffmpeg opensubdiv rcs xdg-utils lxterminal gimp audacity cinelerra-cv kolourpaint imagemagick netpbm freeglut jdk8-openjdk cgal boost curl freetype2 ttf-bitstream-vera ) checkdepends=() optdepends=() provides=() conflicts=() replaces=() backup=() options=() install= changelog= source=("ftp://ftp.ourproject.org/pub/wdune/$pkgname-$pkgver.tar.bz2") noextract=() md5sums=('9d35aee1e35efeab740a36938e689ef8') validpgpkeys=() build() { cd "$pkgname-$pkgver" ./configure --prefix=/usr --without-devil --with-uninstallcomment="pacman -R white_dune" --with-optimization --with-helpurl="/usr/share/doc/$pkgname/docs" --with-protobaseurl="/usr/share/doc/$pkgname/docs" --with-checkincommand="ci" make } check() { cd "$pkgname-$pkgver" } package() { cd "$pkgname-$pkgver" install -Dm755 bin/dune $pkgdir/usr/bin/dune mkdir -p "$pkgdir/usr/share/doc/$pkgname/docs" cp -r "docs" "$pkgdir/usr/share/doc/$pkgname/docs" install -Dm644 desktop/kde/dune.desktop $pkgdir/usr/share/applications/dune.desktop install -Dm644 desktop/kde/dune.png $pkgdir/usr/share/pixmaps/dune.png install -Dm644 desktop/kde/dune4kids.desktop $pkgdir/usr/share/applications/dune4kids.desktop install -Dm644 desktop/kde/dune4kids.png $pkgdir/usr/share/pixmaps/dune4kids.png }