summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c6671d8cba602cdca93d5f9fd0ef15db68e14ba0 (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
# Maintainer: Bruno Bollos Correa <bollos@outlook.com.br>
pkgname=grsim-git

pkgver=v1.5
pkgrel=1
epoch=
pkgdesc="RoboCup Small Size Robot Soccer Simulator"
arch=('x86_64')
url="https://github.com/RoboCup-SSL/grSim"
license=('GPL3')
groups=()
depends=('glibc' 'mesa' 'qt5-base' 'ode' 'protobuf' 'boost' 'vartypes-qt5' 'hicolor-icon-theme')
makedepends=('git' 'cmake')
provides=('grsim')
conflicts=('grsim')
source=('git+https://github.com/RoboCup-SSL/grSim.git')
sha256sums=('SKIP')

pkgver() {
	cd grSim
	git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
	cd $srcdir/grSim
	mkdir builddir && cd builddir
	cmake -DCMAKE_INSTALL_PREFIX=/usr ..
	make
}

package() {
	cd $srcdir/grSim/builddir
	make DESTDIR="$pkgdir" install
}