upgpkg: sublime-text-4 4.4143-4

Use correct name for WMClass in desktop file
This commit is contained in:
Manuel 2022-12-12 12:02:35 +01:00
parent 922102daef
commit ab8a1a063b
Signed by: Manuel
GPG key ID: 4085037435E1F07A
2 changed files with 3 additions and 3 deletions

View file

@ -1,7 +1,7 @@
pkgbase = sublime-text-4
pkgdesc = Sophisticated text editor for code, html and prose - stable build
pkgver = 4.4143
pkgrel = 3
pkgrel = 4
url = https://www.sublimetext.com/download
arch = x86_64
arch = aarch64

View file

@ -2,7 +2,7 @@
pkgname=sublime-text-4
pkgver=4.4143
pkgrel=3
pkgrel=4
pkgdesc='Sophisticated text editor for code, html and prose - stable build'
arch=('x86_64' 'aarch64')
url='https://www.sublimetext.com/download'
@ -30,7 +30,7 @@ package() {
done
sed -i 's#/opt/sublime_text/sublime_text#/usr/bin/subl#g' 'sublime_text/sublime_text.desktop'
sed -i '\#^Icon=sublime-text#a StartupWMClass=sublime-text' 'sublime_text/sublime_text.desktop'
sed -i '\#^StartupNotify=#a StartupWMClass=subl' 'sublime_text/sublime_text.desktop'
install -dm755 "${pkgdir}/usr/share/applications"
install -Dm644 'sublime_text/sublime_text.desktop' "${pkgdir}/usr/share/applications/sublime_text.desktop"