blob: 630e1907408bdd840f36c3f17cefc738b31cb2d3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
# $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=BLEED.285e9a803
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=bleed')
md5sums=('SKIP')
pkgver() {
cd "$srcdir/OpenRA"
PV=$(git name-rev --name-only --tags --no-undefined HEAD 2>/dev/null || echo git-`git rev-parse --short HEAD`)
echo $PV | sed 's/git-/BLEED./'
#git name-rev --name-only --tags --no-undefined HEAD 2>/dev/null | sed 's/release-/BLEED./'''
#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
#make version
}
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
}
|