# Template file for 'TSC' pkgname=TSC version=2.1.0 revision=10 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" # Hard to build vendored mruby # Don't work with mruby 3 hostmakedepends="bison gperf pkg-config gettext mruby2" makedepends="SFML-devel boost-devel-minimal libboost_chrono libboost_thread libboost_filesystem cegui-devel devil-devel gettext-devel glew-devel libvorbis-devel libxml++-devel libXt-devel tinyclipboard-devel pcre-devel mruby2" short_desc="OSS 2D platform game" maintainer="Orphaned " license="GPL-3.0-or-later" homepage="https://www.secretchronicles.org/" distfiles="https://github.com/Secretchronicles/TSC/releases/download/v${version}/TSC-${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 }