blob: 224a205ac014bbf56f0edc8b31d3bd8e0ded6c1b (
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
|
# Maintainer: PerilousBooklet <raffaele.orabona at protonmail dot com>
# Contributor: dalz <aur @t alsd d0t eu>
# Contributor: Jorge Araya Navarro <jorgejavieran@yahoo.com.mx>
# Contributor: Cristian Porras <porrascristian@gmail.com>
# Contributor: Matthew Bentley <matthew@mtbentley.us>
pkgname=godot-voxel
pkgver=4.0.4
pkgrel=1
pkgdesc="The Godot game engine with Zylann's voxel tools module"
url="https://voxel-tools.readthedocs.io/en/latest/"
license=('MIT')
arch=('x86_64')
makedepends=('scons' 'gcc')
depends=('pkgconf' 'libxcursor' 'libxinerama' 'libxi' 'libxrandr' 'mesa' 'glu' 'libglvnd' 'alsa-lib' 'pulseaudio')
source=("godot::git+https://github.com/godotengine/godot.git#branch=4.0"
"godot_voxel::git+https://github.com/Zylann/godot_voxel.git#branch=godot4"
"godot-voxel.desktop" )
sha256sums=('SKIP'
'SKIP'
'SKIP')
prepare() {
cd "${srcdir}"
ln -s "$srcdir/godot_voxel" "$srcdir/godot/modules/voxel"
}
build() {
cd "${srcdir}/godot"
scons platform=linuxbsd colored=yes
}
package() {
cd ${srcdir}
install -Dm644 ${srcdir}/godot-voxel.desktop "${pkgdir}"/usr/share/applications/godot-voxel.desktop
install -Dm644 "${srcdir}"/godot/icon.svg "${pkgdir}"/usr/share/pixmaps/godot-voxel.svg
cd "${srcdir}"/godot
install -D -m755 ./bin/godot.linuxbsd.editor.x86_64 "${pkgdir}"/usr/bin/godot-voxel
#install -D -m644 "${srcdir}"/godot/LICENSE.txt "${pkgdir}"/usr/share/licenses/godot/LICENSE
#install -D -m644 "${srcdir}"/godot/misc/dist/linux/godot.6 "${pkgdir}"/usr/share/man/man6/godot.6
}
|