TSC: use official distfile

The official distfile download was fixed and works now.
Also use the system cegui07 now it's available.
This commit is contained in:
Jürgen Buchmüller 2015-11-15 22:32:19 +01:00
parent 2272ca1b57
commit d0867bfa2d
1 changed files with 10 additions and 6 deletions

View File

@ -4,23 +4,27 @@ version=2.0.0
revision=1
build_style=cmake
build_wrksrc=tsc
configure_args="-DFIXED_DATA_DIR=/usr/share/TSC -DBINARY_DIR=/usr"
configure_args="-DFIXED_DATA_DIR=/usr/share/TSC -DBINARY_DIR=/usr/bin"
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"
makedepends="boost-devel cegui07-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"
distfiles="ftp://ftp.secretchronicles.de/releases/${pkgname}-${version}.tar.xz"
checksum=c8a9ca3975f9de16aa59fab2a7864c3c541963b46c2c40533632c4fc621b407a
nocross=yes # Fails to run generated mruby/mrbc
CXXFLAGS="-std=c++11"
pre_configure() {
# Fix man page path
sed -i CMakeLists.txt -e "s;DESTINATION man/man6;DESTINATION share/man/man6;"
}
post_install() {
vbin build/tsc
vinstall extras/tsc.desktop 644 usr/share/applications