summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ef460fdc667e91ff1e5e6e8b4706063e5ed6b55f (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
pkgname=war1gus-git
pkgver=2.4.1
pkgrel=1
pkgdesc="Warcraft1 Mod that allows you to play Warcraft1 with the Stratagus engine (git version)"
arch=("i686" "x86_64")
url="https://github.com/Wargus/war1gus"
license=('GPL')
depends=('stratagus' 'ffmpeg2theora' 'cdparanoia' 'timidity++' 'gtk2' )
source=("war1gus::git://github.com/Wargus/war1gus.git")
md5sums=('SKIP')
provides=('war1gus=2.4.1')
replaces=('war1gus')
conflicts=('war1gus')

build() {
  cd $srcdir/war1gus
  mkdir -p build
  cd build

  cmake .. -DCMAKE_BUILD_TYPE=Release \
  -DCMAKE_INSTALL_PREFIX=/usr -DGAMEDIR=/usr/bin
  make
}

package()  {
  cd $srcdir/war1gus/build
  make  DESTDIR=${pkgdir} install
}