36 lines
1.1 KiB
Bash
36 lines
1.1 KiB
Bash
# Template file for 'TSC'
|
|
pkgname=TSC
|
|
version=2.0.0
|
|
revision=1
|
|
build_style=cmake
|
|
build_wrksrc=tsc
|
|
configure_args="-DFIXED_DATA_DIR=/usr/share/TSC -DBINARY_DIR=/usr"
|
|
make_build_args="LD=\${CXX}"
|
|
hostmakedepends="bison flex cmake gperf pkg-config ruby"
|
|
makedepends="boost-devel devil-devel gettext-devel glew-devel libvorbis-devel
|
|
libxml++-devel SDL_image-devel SDL_mixer-devel SDL_ttf-devel"
|
|
depends="TSC-data>=${version}_${revision}"
|
|
short_desc="OSS 2D platform game"
|
|
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
|
|
license="GPL-3"
|
|
homepage="http://www.secretchronicles.de/"
|
|
# The official tarball does not include the git mruby/mruby and mruby/mgems files
|
|
distfiles="http://repo.voidlinux.de/distfiles/${pkgname}-${version}/${pkgname}-${version}-full.tar.xz"
|
|
checksum="0239a30a9f46ece040efebc069d9f1b0153fbdae30393614ffe1e4be35148322"
|
|
nocross=yes # Fails to run generated mruby/mrbc
|
|
|
|
CXXFLAGS="-std=c++11"
|
|
|
|
post_install() {
|
|
vbin build/tsc
|
|
vinstall extras/tsc.desktop 644 usr/share/applications
|
|
}
|
|
|
|
TSC-data_package() {
|
|
short_desc+=" - data files"
|
|
noarch=yes
|
|
pkg_install() {
|
|
vmove usr/share/TSC
|
|
}
|
|
}
|