diff --git a/.SRCINFO b/.SRCINFO index dad6b7d..68eb70a 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = sublime-text-4 pkgdesc = Sophisticated text editor for code, html and prose - stable build pkgver = 4.4143 - pkgrel = 2 + pkgrel = 3 url = https://www.sublimetext.com/download arch = x86_64 arch = aarch64 diff --git a/PKGBUILD b/PKGBUILD index 2533319..975bd66 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,7 +2,7 @@ pkgname=sublime-text-4 pkgver=4.4143 -pkgrel=2 +pkgrel=3 pkgdesc='Sophisticated text editor for code, html and prose - stable build' arch=('x86_64' 'aarch64') url='https://www.sublimetext.com/download' @@ -22,6 +22,7 @@ package() { install -dm755 "${pkgdir}/opt" cp --preserve=mode -r 'sublime_text' "${pkgdir}/opt/sublime_text" + rm -f "${pkgdir}/opt/sublime_text/sublime_text.desktop" for res in 128x128 16x16 256x256 32x32 48x48; do install -dm755 "${pkgdir}/usr/share/icons/hicolor/${res}/apps" @@ -29,6 +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' install -dm755 "${pkgdir}/usr/share/applications" install -Dm644 'sublime_text/sublime_text.desktop' "${pkgdir}/usr/share/applications/sublime_text.desktop"