diff options
author | mnovick1988 | 2015-12-24 01:53:47 -0500 |
---|---|---|
committer | mnovick1988 | 2015-12-24 01:53:47 -0500 |
commit | 2ab661b3999d568bcfa3d07c7f185e4a2ff6bdfd (patch) | |
tree | b35346af551f65a683c346c4c8373196763b6123 /PKGBUILD | |
download | aur-2ab661b3999d568bcfa3d07c7f185e4a2ff6bdfd.tar.gz |
Initial Commit. Cloned and Modified from openra package.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..876c055dc84c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,53 @@ +# $Id$ +# Maintainer: mnovick1988 <contact through AUR please> +# Contributor: Sven-Hendrik Haase <sh@lutzhaase.com> +# Contributor: Matthew Bowra-Dean <matthew@ijw.co.nz> +pkgname=openra-git +pkgver=playtest.2015.09.19.git +pkgrel=1 +pkgdesc="An open-source implementation of the Red Alert engine using .NET/Mono and OpenGL" +arch=('any') +url="http://www.openra.net" +license=('GPL3') +install=openra.install +depends=('mono' 'ttf-dejavu' 'openal' 'libgl' 'freetype2' 'sdl2' 'lua51' 'hicolor-icon-theme' 'gtk-update-icon-cache' + 'desktop-file-utils' 'xdg-utils' 'zenity') +makedepends=('git' 'unzip') +provides=('openra') +conflicts=('openra') +options=(!strip) + +source=('OpenRA::git://github.com/OpenRA/OpenRA.git#branch=master') +md5sums=('SKIP') + + +pkgver() { + cd "$srcdir/OpenRA" + + gitdate="$( git log -1 --format=%ai | sed 's/\([^-]*-g\)/r\1/;s/-/./g' | sed 's/ /\n/g' | head -1 )" + echo "playtest.$gitdate.git" +} + + +#prepare() { +# cd OpenRA +# +# make version +#} + +build() { + cd OpenRA + + make dependencies + make core + make tools +} + +package() { + cd OpenRA + + make prefix=/usr DESTDIR="$pkgdir" install-all + make prefix=/usr DESTDIR="$pkgdir" install-linux-shortcuts + make prefix=/usr DESTDIR="$pkgdir" install-linux-mime + make prefix=/usr DESTDIR="$pkgdir" install-linux-appdata +} |