From c9a0c857955e7532635e046da96d7b41eb4efa12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20H=C3=BCsers?= Date: Mon, 12 Dec 2022 12:02:48 +0100 Subject: [PATCH] upgpkg: sublime-text-dev 4.4141-4 Use correct name for WMClass in desktop file --- .SRCINFO | 2 +- PKGBUILD | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index e3a2d43..805938a 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = sublime-text-dev pkgdesc = Sophisticated text editor for code, html and prose - dev build pkgver = 4.4141 - pkgrel = 3 + pkgrel = 4 url = https://www.sublimetext.com/dev install = sublime-text-dev.install arch = x86_64 diff --git a/PKGBUILD b/PKGBUILD index 9c59aa6..a4a9be9 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -4,7 +4,7 @@ pkgname=sublime-text-dev pkgver=4.4141 -pkgrel=3 +pkgrel=4 pkgdesc='Sophisticated text editor for code, html and prose - dev build' arch=('x86_64' 'aarch64') url='https://www.sublimetext.com/dev' @@ -33,7 +33,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"