30 lines
1.0 KiB
Bash
30 lines
1.0 KiB
Bash
# Template file for 'TSC'
|
|
pkgname=TSC
|
|
version=2.1.0
|
|
revision=4
|
|
build_wrksrc=tsc
|
|
build_style=cmake
|
|
build_helper="qemu"
|
|
configure_args="-DFIXED_DATA_DIR=/usr/share/TSC -DBINARY_DIR=/usr/bin
|
|
-DUSE_SYSTEM_MRUBY=ON -DUSE_SYSTEM_TINYCLIPBOARD=ON"
|
|
hostmakedepends="bison gperf pkg-config gettext mruby"
|
|
makedepends="SFML-devel boost-devel cegui-devel devil-devel gettext-devel
|
|
glew-devel libvorbis-devel libxml++-devel libXt-devel tinyclipboard-devel
|
|
pcre-devel mruby"
|
|
depends="mruby>=0"
|
|
short_desc="OSS 2D platform game"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://www.secretchronicles.org/"
|
|
distfiles="https://ftp.secretchronicles.org/releases/${pkgname}-${version}.tar.gz"
|
|
checksum=6a16765b4951e3d5d1ea2b84e6da8f67b0271460f0c570b53ccdab80d7396261
|
|
replaces="TSC-data>=0"
|
|
|
|
if [ "$XBPS_WORDSIZE" != "$XBPS_TARGET_WORDSIZE" ]; then
|
|
broken="The host ($XBPS_WORDSIZE) and target ($XBPS_TARGET_WORDSIZE) word sizes need to be the same for cross building."
|
|
fi
|
|
|
|
post_install() {
|
|
vinstall extras/tsc.desktop 644 usr/share/applications
|
|
}
|