blob: c757b8604f37448783b3ed7ad0ea426d5f1f9bb6 (
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
|
# Maintainer: Jan Cholasta <grubber at grubber cz>
_name=slade
pkgname=${_name}-git
pkgver=3.2.0_b4+3+g5f8ff989
pkgrel=1
pkgdesc='SLADE3 Doom editor (git version)'
arch=('i686' 'x86_64')
url='http://slade.mancubus.net/'
license=('GPL')
depends=('bzip2'
'curl'
'fluidsynth>=2.2'
'fmt>=8.0.1'
'freeimage'
'ftgl'
'glew>=2.2'
'glu'
'gtk3'
'libgl'
'lua'
'mpg123'
'sfml>=2.5'
'webkit2gtk'
'wxgtk3>=3.0'
'zlib')
makedepends=('cmake'
'git'
'p7zip')
provides=("${_name}")
conflicts=("${_name}")
source=("${_name}::git+https://github.com/sirjuddington/SLADE.git")
sha256sums=('SKIP')
pkgver() {
cd slade
git describe --long --tags | sed -r 's/-/+/g'
}
build() {
cd slade
export CCACHE_SLOPPINESS=pch_defines,time_macros
cmake -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-gtk3 \
.
make
}
package() {
cd slade
make install DESTDIR="$pkgdir"
}
|