New package: openra-20171014

Closes: #8153 [via git-merge-pr]
This commit is contained in:
Helmut Pozimski 2017-10-14 15:43:38 +02:00 committed by Michael Aldridge
parent 6b8bdbf318
commit 283df5a136
2 changed files with 31 additions and 0 deletions

29
srcpkgs/openra/template Normal file
View File

@ -0,0 +1,29 @@
# Template file for 'openra'
pkgname=openra
version=20171014
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"
checksum=ea8a6c38f22c3432bd173c15e3f3d96a7bb47c39f73db5aa5ab6df7e6980ed5a
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" lua51 libgdiplus"
fi
pre_build() {
make VERSION="release-${version}" version
make dependencies
}

2
srcpkgs/openra/update Normal file
View File

@ -0,0 +1,2 @@
site=http://www.openra.net/download/
pattern='release-[0-9]{8}'