upgpkg: sublime-text-3 3.3211-4
Use correct name for WMClass in desktop file
This commit is contained in:
parent
e468a12eb1
commit
0079614e42
2 changed files with 3 additions and 3 deletions
2
.SRCINFO
2
.SRCINFO
|
@ -1,7 +1,7 @@
|
||||||
pkgbase = sublime-text-3
|
pkgbase = sublime-text-3
|
||||||
pkgdesc = Sophisticated text editor for code, html and prose (legacy version)
|
pkgdesc = Sophisticated text editor for code, html and prose (legacy version)
|
||||||
pkgver = 3.3211
|
pkgver = 3.3211
|
||||||
pkgrel = 3
|
pkgrel = 4
|
||||||
url = https://www.sublimetext.com/3
|
url = https://www.sublimetext.com/3
|
||||||
install = sublime-text-3.install
|
install = sublime-text-3.install
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
|
|
4
PKGBUILD
4
PKGBUILD
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
pkgname=sublime-text-3
|
pkgname=sublime-text-3
|
||||||
pkgver=3.3211
|
pkgver=3.3211
|
||||||
pkgrel=3
|
pkgrel=4
|
||||||
pkgdesc='Sophisticated text editor for code, html and prose (legacy version)'
|
pkgdesc='Sophisticated text editor for code, html and prose (legacy version)'
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url='https://www.sublimetext.com/3'
|
url='https://www.sublimetext.com/3'
|
||||||
|
@ -34,7 +34,7 @@ package() {
|
||||||
|
|
||||||
# Install desktop entry and executable
|
# Install desktop entry and executable
|
||||||
sed -i 's#/opt/sublime_text_3/sublime_text#/usr/bin/subl3#g' 'sublime_text_3/sublime_text.desktop'
|
sed -i 's#/opt/sublime_text_3/sublime_text#/usr/bin/subl3#g' 'sublime_text_3/sublime_text.desktop'
|
||||||
sed -i '\#^Icon=sublime-text-3#a StartupWMClass=sublime-text-3' 'sublime_text_3/sublime_text.desktop'
|
sed -i '\#^StartupNotify=#a StartupWMClass=subl3' 'sublime_text_3/sublime_text.desktop'
|
||||||
|
|
||||||
install -dm755 "${pkgdir}/usr/share/applications"
|
install -dm755 "${pkgdir}/usr/share/applications"
|
||||||
install -Dm644 'sublime_text_3/sublime_text.desktop' "${pkgdir}/usr/share/applications/sublime_text_3.desktop"
|
install -Dm644 'sublime_text_3/sublime_text.desktop' "${pkgdir}/usr/share/applications/sublime_text_3.desktop"
|
||||||
|
|
Loading…
Reference in a new issue