updated on Mon Jan 16 00:01:41 UTC 2012
[aur-mirror.git] / stage / PKGBUILD
blob1a3f606371727a813e508d712f2a685737216ee0
1 # Maintainer: Renato Garcia <fgar.renato@gmail.com>
2 # Contributor: Yannick Poirier <contact@yannickpoirier.fr>
4 pkgname=stage
5 pkgver=3.2.2
6 pkgrel=1
7 pkgdesc="Fast and scalable robot simulator"
8 arch=('i686' 'x86_64')
9 url="http://playerstage.sourceforge.net"
10 license=('GPL')
11 depends=('fltk' 'libpng' 'player')
12 makedepends=('cmake')
13 source=("http://downloads.sourceforge.net/project/playerstage/${pkgname/s/S}/$pkgver/${pkgname/s/S}-$pkgver-Source.tar.gz")
14 md5sums=('ca93c7c9746354679829092640c49ec6')
16 build() {
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
23   make || return 1
24   make DESTDIR="${pkgdir}" install || return 1
26   cp -r ../worlds ${pkgdir}/usr/share/stage