blob: 2e217d3c3fd09fefd8b4fd02f68a411eb473b861 (
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
|
# Maintainer: Vaporeon <vaporeon@vaporeon.io>
pkgname=invader
pkgver=0.45.1
_commit=373682495cdf4d390cbf34b6de9dafed883c31c6
pkgrel=1
pkgdesc="An open source toolkit for creating maps and assets for Halo: Combat Evolved"
depends=('libtiff' 'libarchive' 'libsquish' 'flac' 'freetype2' 'libsamplerate'
'libvorbis' 'qt5-base' 'qt5-multimedia' 'zlib')
makedepends=('cmake' 'git' 'ninja' 'python')
arch=('x86_64')
url="https://invader.opencarnage.net"
license=('GPL3')
source=("git+https://github.com/SnowyMouse/${pkgname}.git#commit=$_commit"
"git+https://github.com/SnowyMouse/riat.git")
sha256sums=('SKIP'
'SKIP')
prepare() {
mkdir -p build
cd invader
git submodule init
git config submodule.riat.url "$srcdir/riat"
git submodule update
}
build() {
cd "$srcdir"/build
cmake ../$pkgname -G Ninja \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX="$pkgdir/usr"
ninja
}
package() {
cd "$srcdir"/build
ninja install
}
|