Remove gzip from build process

This commit is contained in:
HurricanePootis 2024-06-29 13:50:09 -05:00
parent 142a27f2fb
commit aa807fe391
2 changed files with 3 additions and 4 deletions

View file

@ -1,7 +1,7 @@
pkgbase = godot3 pkgbase = godot3
pkgdesc = Advanced cross-platform 2D and 3D game engine (3.x Branch) pkgdesc = Advanced cross-platform 2D and 3D game engine (3.x Branch)
pkgver = 3.5.3 pkgver = 3.5.3
pkgrel = 2 pkgrel = 3
url = https://godotengine.org url = https://godotengine.org
arch = x86_64 arch = x86_64
license = MIT license = MIT

View file

@ -9,7 +9,7 @@
_pkgname=godot _pkgname=godot
pkgname=godot3 pkgname=godot3
pkgver=3.5.3 pkgver=3.5.3
pkgrel=2 pkgrel=3
pkgdesc='Advanced cross-platform 2D and 3D game engine (3.x Branch)' pkgdesc='Advanced cross-platform 2D and 3D game engine (3.x Branch)'
url='https://godotengine.org' url='https://godotengine.org'
license=(MIT) license=(MIT)
@ -66,7 +66,6 @@ build() {
package() { package() {
# make godot3 compatible with godot # make godot3 compatible with godot
cd "$srcdir/$_pkgname-$pkgver-stable/misc/dist/linux/" cd "$srcdir/$_pkgname-$pkgver-stable/misc/dist/linux/"
gzip -9 ${_pkgname}.6
sed -i 's/Godot Engine/Godot Engine 3 LTS/g' org.godotengine.Godot.desktop sed -i 's/Godot Engine/Godot Engine 3 LTS/g' org.godotengine.Godot.desktop
@ -76,7 +75,7 @@ package() {
install -Dm644 icon.svg "$pkgdir/usr/share/pixmaps/$pkgname.svg" install -Dm644 icon.svg "$pkgdir/usr/share/pixmaps/$pkgname.svg"
install -Dm755 bin/godot.x11.opt.tools.64 "$pkgdir/usr/bin/$pkgname" install -Dm755 bin/godot.x11.opt.tools.64 "$pkgdir/usr/bin/$pkgname"
install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE" install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -Dm644 misc/dist/linux/godot.6.gz "$pkgdir/usr/share/man/man6/$pkgname.6" install -Dm644 misc/dist/linux/godot.6 "$pkgdir/usr/share/man/man6/$pkgname.6"
install -Dm644 misc/dist/linux/org.godotengine.Godot.xml \ install -Dm644 misc/dist/linux/org.godotengine.Godot.xml \
"$pkgdir/usr/share/mime/packages/org.godotengine.Godot3.xml" "$pkgdir/usr/share/mime/packages/org.godotengine.Godot3.xml"
} }