From 142a27f2fb0726e3e1bf03d9d18f85fe7458080a Mon Sep 17 00:00:00 2001 From: HurricanePootis Date: Sat, 30 Sep 2023 18:31:05 -0500 Subject: [PATCH] Rename desktop file and compress man page --- .SRCINFO | 2 +- PKGBUILD | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index c6ed807..25f3550 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = godot3 pkgdesc = Advanced cross-platform 2D and 3D game engine (3.x Branch) pkgver = 3.5.3 - pkgrel = 1 + pkgrel = 2 url = https://godotengine.org arch = x86_64 license = MIT diff --git a/PKGBUILD b/PKGBUILD index db1ac4f..0249c4a 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -9,7 +9,7 @@ _pkgname=godot pkgname=godot3 pkgver=3.5.3 -pkgrel=1 +pkgrel=2 pkgdesc='Advanced cross-platform 2D and 3D game engine (3.x Branch)' url='https://godotengine.org' license=(MIT) @@ -66,16 +66,17 @@ build() { package() { # make godot3 compatible with godot 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 cd $srcdir/$_pkgname-$pkgver-stable install -Dm644 misc/dist/linux/org.godotengine.Godot.desktop \ - "$pkgdir/usr/share/applications/$pkgname.desktop" + "$pkgdir/usr/share/applications/org.godotengine.Godot3.desktop" install -Dm644 icon.svg "$pkgdir/usr/share/pixmaps/$pkgname.svg" install -Dm755 bin/godot.x11.opt.tools.64 "$pkgdir/usr/bin/$pkgname" install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE" - install -Dm644 misc/dist/linux/godot.6 "$pkgdir/usr/share/man/man6/$pkgname.6" + install -Dm644 misc/dist/linux/godot.6.gz "$pkgdir/usr/share/man/man6/$pkgname.6" install -Dm644 misc/dist/linux/org.godotengine.Godot.xml \ "$pkgdir/usr/share/mime/packages/org.godotengine.Godot3.xml" }