summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d4e1ea6691aa01e3a761c1dd89f5e65c1e0c0872 (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
# Maintainer: kleintux <reg-archlinux AT klein DOT tuxli DOT ch> 

_pkgname=raceintospace
pkgname=${_pkgname}-git
pkgver=r1328.58fd94b
pkgrel=1
pkgdesc='The computer version of the Liftoff! board game by Fritz Bronner'
arch=('any')
url='https://www.raceintospace.org/'
license=('GPL2')
depends=('sdl' 'libvorbis' 'libtheora' 'boost' 'libogg' 'libpng' 'jsoncpp' 'zlib')
makedepends=('git' 'cmake')
conflicts=(${_pkgname})
source=("git+https://github.com/${_pkgname}/${_pkgname}.git")
md5sums=('SKIP')

pkgver() {
	cd "${_pkgname}"
 	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
	cd ${srcdir}/${_pkgname}
	cmake .
}

package()
{
	cd ${srcdir}/${_pkgname}
	make DESTDIR=${pkgdir} install
}