summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 169e140b46f907f31f416428409f631ccb65074f (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=r1582.0b63a34
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' 'protobuf' 'cereal' 'physfs')
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
}