mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
godot: add man page and mime file
This commit is contained in:
parent
e726224e17
commit
adfdec39a2
1 changed files with 8 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'godot'
|
# Template file for 'godot'
|
||||||
pkgname=godot
|
pkgname=godot
|
||||||
version=4.1.1
|
version=4.1.1
|
||||||
revision=4
|
revision=5
|
||||||
archs="x86_64* i686* aarch64* armv7* ppc64*"
|
archs="x86_64* i686* aarch64* armv7* ppc64*"
|
||||||
build_style=scons
|
build_style=scons
|
||||||
# Build currently fails with embree-4.X
|
# Build currently fails with embree-4.X
|
||||||
|
@ -49,12 +49,15 @@ pre_build() {
|
||||||
export CXXFLAGS=" $CXXFLAGS "
|
export CXXFLAGS=" $CXXFLAGS "
|
||||||
}
|
}
|
||||||
|
|
||||||
|
post_patch() {
|
||||||
|
vsed -i misc/dist/linux/org.godotengine.Godot.xml -e 's/name="x/name="application-x/g'
|
||||||
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vlicense LICENSE.txt
|
vlicense LICENSE.txt
|
||||||
vinstall ${FILESDIR}/godot.desktop 644 /usr/share/applications/
|
vinstall ${FILESDIR}/godot.desktop 644 /usr/share/applications/
|
||||||
vinstall ${wrksrc}/icon.png 644 /usr/share/pixmaps/ godot.png
|
vinstall ${wrksrc}/icon.png 644 /usr/share/pixmaps/ godot.png
|
||||||
|
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
x86_64*) vbin bin/godot.linuxbsd.editor.x86_64 godot;;
|
x86_64*) vbin bin/godot.linuxbsd.editor.x86_64 godot;;
|
||||||
i686*) vbin bin/godot.linuxbsd.editor.x86_32 godot;;
|
i686*) vbin bin/godot.linuxbsd.editor.x86_32 godot;;
|
||||||
|
@ -62,4 +65,7 @@ do_install() {
|
||||||
armv7*) vbin bin/godot.linuxbsd.editor.arm32 godot;;
|
armv7*) vbin bin/godot.linuxbsd.editor.arm32 godot;;
|
||||||
ppc64*) vbin bin/godot.linuxbsd.editor.ppc64 godot;;
|
ppc64*) vbin bin/godot.linuxbsd.editor.ppc64 godot;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
vinstall misc/dist/linux/org.godotengine.Godot.xml 644 /usr/share/mime/packages/
|
||||||
|
vman misc/dist/linux/godot.6
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue