summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b57e0340554af1b46ebc1a16db5d9095582dcb7d (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: Sandor Nagy <sandor[dot]nagy[at]kdemail[dot]net>
pkgname=librcsc
pkgver=4.1.0
pkgrel=1
pkgdesc="The basic library to develop the RoboCup Soccer Simulation client and tools"
arch=('x86_64' 'i686')
url="https://osdn.net/projects/rctools/"
license=('CCPL')
groups=('rcss')
depends=('zlib' 'gcc-libs' 'sh')
makedepends=('boost>=1.32')
optdepends=(
	'rcssserver:	RCSS Server'
	'rcssmonitor:	RCSS Monitor'
	'cppunit:	C++ unit testing framework')
options=('buildflags' 'makeflags')
source=(https://osdn.net/dl/rctools/$pkgname-$pkgver.tar.gz)
md5sums=('509c30d1e00499a08ae1f58f4ff05573')

build() {
	cd "$srcdir/$pkgname-$pkgver"
	./configure --prefix=/usr
	make
}

check() {
	cd "$srcdir/$pkgname-$pkgver"
	make -k check
}

package() {
	cd "$srcdir/$pkgname-$pkgver"
	make DESTDIR="$pkgdir/" install
}