blob: c9f628821bb9cf9e2c1414dc2cdf7679b00d4789 (
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
|
#Maintainer: Marty Plummer <ntzrmtthihu777 (at) gmail (dot) com>
# Contributor: Thaodan <theodorstormgrade@gmail.com>
pkgname=wargus-git
pkgver=2.4.0
pkgrel=1
pkgdesc="Warcraft2 Mod that allows you to play Warcraft2 with the Stratagus engine (git version)"
arch=("i686" "x86_64")
url="https://github.com/Wargus/wargus"
license=('GPL')
depends=('stratagus=2.4.0' 'ffmpeg2theora' 'cdparanoia' 'timidity++' 'gtk2' )
source=("wargus::git://github.com/Wargus/wargus.git")
md5sums=('SKIP')
provides=('wargus=2.4.0')
replaces=('wargus')
conflicts=('wargus')
build() {
cd $srcdir/wargus
mkdir -p build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr -DGAMEDIR=/usr/bin
make
}
package() {
cd $srcdir/wargus/build
make DESTDIR=${pkgdir} install
}
# vim:set ts=2 sw=2 ft=sh et:
|