blob: 1fa0a158b8f28e9a7d34d17f1017c172e289f48c (
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
58
|
# Maintainer : silverhikari <kerrickethan@gmail.com>
# Contributor: Qontinuum <qontinuum.dev@protonmail.ch>
# Contributor: carstene1ns <arch carsten-teibes de> - http://git.io/ctPKG
# Contributor: Fernando Carmona Varo <ferkiwi @t gmail dot com>
# Contributor: BenObiWan <benobiwan @t gmail dot com>
pkgname=solarus-git
pkgver=1.5.3.r2217.gcbb29669e
pkgrel=1
pkgdesc="An open-source adventure 2D game engine (git version)"
arch=('i686' 'x86_64')
url="http://www.solarus-games.org/"
license=('GPL-3.0-or-later')
depends=('glm'
'hicolor-icon-theme'
'libmodplug'
'libvorbis'
'luajit'
'openal'
'physfs'
'qt5-base'
'qt5-tools'
'sdl2>=2.0.6'
'sdl2_image'
'sdl2_ttf')
makedepends=('git' 'cmake')
provides=('solarus')
conflicts=('solarus')
source=('git+https://gitlab.com/solarus-games/solarus.git')
md5sums=('SKIP')
pkgver() {
cd "${pkgname%-git}"
git describe --long --tag | sed 's/v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
cmake -B build -S "${pkgname%-git}" \
-DCMAKE_BUILD_TYPE='None' \
-DCMAKE_INSTALL_PREFIX='/usr' \
-Wno-dev
cmake --build build
}
build() {
cd build
make
}
check() {
cd build
make
}
package() {
cd build
make DESTDIR="$pkgdir/" install
}
|