Skip to content

Instantly share code, notes, and snippets.

@fusion809
Created August 14, 2018 15:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fusion809/06ae56ff064373360314309d7b3cdf66 to your computer and use it in GitHub Desktop.
Save fusion809/06ae56ff064373360314309d7b3cdf66 to your computer and use it in GitHub Desktop.
# Template file for 'openra-bleed'
pkgname=openra-bleed
version=25169
_commit=09b9ed350686ccdecfb33e47f5a9f2342e88eb74
revision=1
wrksrc="OpenRA-${_commit}"
noarch=yes
hostmakedepends="mono unzip curl"
makedepends="SDL2-devel lua51-devel freetype-devel libopenal-devel libgdiplus-devel unzip curl"
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="Brenton Horne <brentonhorne77@gmail.com>"
license="GPL-3"
distfiles="https://github.com/OpenRA/OpenRA/archive/${_commit}.tar.gz"
checksum=02c4e00fb98d0410448a15533e8d12263bf646c7a55db36707c7b967423e6b9f
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" lua51 libgdiplus"
fi
pre_build() {
make VERSION="bleed-${version}" version
make dependencies
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment