1 # Maintainer: Renato Garcia <fgar.renato@gmail.com>
2 # Contributor: Yannick Poirier <contact@yannickpoirier.fr>
7 pkgdesc="Fast and scalable robot simulator"
9 url="http://playerstage.sourceforge.net"
11 depends=('fltk' 'libpng' 'player')
13 source=("http://downloads.sourceforge.net/project/playerstage/${pkgname/s/S}/$pkgver/${pkgname/s/S}-$pkgver-Source.tar.gz")
14 md5sums=('ca93c7c9746354679829092640c49ec6')
17 # Without this, cmake files would be installed
18 mkdir "${srcdir}/${pkgname/s/S}-${pkgver}-Source/build"
19 cd "${srcdir}/${pkgname/s/S}-${pkgver}-Source/build"
21 cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_SKIP_BUILD_RPATH=TRUE || return 1
24 make DESTDIR="${pkgdir}" install || return 1
26 cp -r ../worlds ${pkgdir}/usr/share/stage