summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorEcho J2023-05-11 18:19:22 +0300
committerEcho J2023-05-11 18:19:22 +0300
commit23b5668940ac18c4d9c4e12d2f716f500f5bd1bb (patch)
tree73c6d61521a2a66af37d039149eaa908f1a025ed /PKGBUILD
parent16c5489edd3d275098df680c5de60004bbd59223 (diff)
downloadaur-23b5668940ac18c4d9c4e12d2f716f500f5bd1bb.tar.gz
Remove the obsolete hack
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD13
1 files changed, 1 insertions, 12 deletions
diff --git a/PKGBUILD b/PKGBUILD
index e8144195d93c..bc6a05771580 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
_pkgname=vinegar
pkgname=vinegar-git
-pkgver=1.0.1.r2.ge817411
+pkgver=1.0.1.r5.gfc579cf
pkgrel=1
pkgdesc="A transparent wrapper for Roblox Player and Roblox Studio (Git version)"
arch=("x86_64")
@@ -36,17 +36,6 @@ package() {
# This does all the work (except for the optional LICENSE file)
make VERSION="${pkgver}" DESTDIR="${pkgdir}" PREFIX="/usr" install
- # Fix up the .desktop files (as I expected, Vinegar is a mess)
- _player=io.github.vinegarhq.Vinegar.player.desktop
- _studio=io.github.vinegarhq.Vinegar.studio.desktop
- _playermime="x-scheme-handler/roblox;x-scheme-handler/roblox-player;"
- _studiomime="application/x-roblox-rbxl;application/x-roblox-rbxlx;x-scheme-handler/roblox-studio;x-scheme-handler/roblox-studio-auth;"
-
- desktop-file-edit --remove-key="MimeType" "${pkgdir}/usr/share/applications/${_player}"
- desktop-file-edit --remove-key="MimeType" "${pkgdir}/usr/share/applications/${_studio}"
- desktop-file-edit --set-key="MimeType" --set-value="${_playermime}" "${pkgdir}/usr/share/applications/${_player}"
- desktop-file-edit --set-key="MimeType" --set-value="${_studiomime}" "${pkgdir}/usr/share/applications/${_studio}"
-
# Install GPLv3 license (just in case)
install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
}