blob: d2e80912933619125987a65e2485e58fe8d45200 (
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
|
pkgname=colobot-gold-data
pkgver=0.2.2_alpha
__ver=0.2.2-alpha
pkgrel=1
pkgdesc="Data pack for Colobot GOLD real-time strategy game."
arch=('any')
url="http://colobot.info"
license=('GPL3')
makedepends=('cmake' 'python')
source=("https://github.com/colobot/colobot-data/archive/colobot-gold-$__ver.zip")
md5sums=('bac3307d1cac204b5b718c2d1430bad6')
sha1sums=('6353f4c4ffe4185cc3ce4df8cf1615debd8f7663')
_archive_dir="colobot-data-colobot-gold-$__ver"
optdepends=('colobot-gold-music: ingame music')
build() {
mkdir -p "$srcdir/$_archive_dir/build"
cd "$srcdir/$_archive_dir/build"
cmake "$srcdir/$_archive_dir" -DCMAKE_INSTALL_PREFIX="/usr" -DMUSIC=0
make
}
package() {
cd "$srcdir/$_archive_dir/build"
make DESTDIR="$pkgdir/" install
}
|