upgpkg: sublime-text-dev 4.4141-4
Use correct name for WMClass in desktop file
This commit is contained in:
parent
495a213f3e
commit
c9a0c85795
2 changed files with 3 additions and 3 deletions
2
.SRCINFO
2
.SRCINFO
|
@ -1,7 +1,7 @@
|
||||||
pkgbase = sublime-text-dev
|
pkgbase = sublime-text-dev
|
||||||
pkgdesc = Sophisticated text editor for code, html and prose - dev build
|
pkgdesc = Sophisticated text editor for code, html and prose - dev build
|
||||||
pkgver = 4.4141
|
pkgver = 4.4141
|
||||||
pkgrel = 3
|
pkgrel = 4
|
||||||
url = https://www.sublimetext.com/dev
|
url = https://www.sublimetext.com/dev
|
||||||
install = sublime-text-dev.install
|
install = sublime-text-dev.install
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
|
|
4
PKGBUILD
4
PKGBUILD
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
pkgname=sublime-text-dev
|
pkgname=sublime-text-dev
|
||||||
pkgver=4.4141
|
pkgver=4.4141
|
||||||
pkgrel=3
|
pkgrel=4
|
||||||
pkgdesc='Sophisticated text editor for code, html and prose - dev build'
|
pkgdesc='Sophisticated text editor for code, html and prose - dev build'
|
||||||
arch=('x86_64' 'aarch64')
|
arch=('x86_64' 'aarch64')
|
||||||
url='https://www.sublimetext.com/dev'
|
url='https://www.sublimetext.com/dev'
|
||||||
|
@ -33,7 +33,7 @@ package() {
|
||||||
done
|
done
|
||||||
|
|
||||||
sed -i 's#/opt/sublime_text/sublime_text#/usr/bin/subl#g' 'sublime_text/sublime_text.desktop'
|
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 -dm755 "${pkgdir}/usr/share/applications"
|
||||||
install -Dm644 'sublime_text/sublime_text.desktop' "${pkgdir}/usr/share/applications/sublime_text.desktop"
|
install -Dm644 'sublime_text/sublime_text.desktop' "${pkgdir}/usr/share/applications/sublime_text.desktop"
|
||||||
|
|
Loading…
Reference in a new issue