2017-10-14 13:43:38 +00:00
|
|
|
# Template file for 'openra'
|
|
|
|
pkgname=openra
|
2018-03-08 11:27:44 +00:00
|
|
|
version=20180307
|
2017-10-14 13:43:38 +00:00
|
|
|
revision=1
|
|
|
|
wrksrc="OpenRA-release-${version}"
|
|
|
|
noarch=yes
|
|
|
|
hostmakedepends="mono unzip curl"
|
|
|
|
makedepends="SDL2-devel lua51-devel freetype-devel libopenal-devel libgdiplus-devel"
|
|
|
|
depends="mono libopenal freetype xdg-utils zenity SDL2 lua51 libgdiplus"
|
|
|
|
build_style="gnu-makefile"
|
|
|
|
make_install_target="install install-linux-shortcuts install-linux-mime
|
|
|
|
install-linux-appdata install-man-page"
|
|
|
|
make_install_args="prefix=/usr"
|
|
|
|
homepage="http://www.openra.net"
|
|
|
|
short_desc="An open-source implementation of the Red Alert engine"
|
|
|
|
maintainer="Helmut Pozimski <helmut@pozimski.eu>"
|
|
|
|
license="GPL-3"
|
|
|
|
distfiles="https://github.com/OpenRA/OpenRA/archive/release-${version}.tar.gz"
|
2018-03-08 11:27:44 +00:00
|
|
|
checksum=b775fd4845df3fdbf89c136c7267bacc57e213eedbecc31c599a8b80c3e26544
|
2017-10-14 13:43:38 +00:00
|
|
|
|
|
|
|
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
|
|
hostmakedepends+=" lua51 libgdiplus"
|
|
|
|
fi
|
|
|
|
|
|
|
|
pre_build() {
|
|
|
|
make VERSION="release-${version}" version
|
|
|
|
make dependencies
|
|
|
|
}
|