diff options
author | Jordan Klassen | 2016-02-12 16:42:05 -0800 |
---|---|---|
committer | Jordan Klassen | 2016-02-12 16:42:05 -0800 |
commit | 8e230dfc8b8231a36303f12591881c4dd1a0968e (patch) | |
tree | 0a0a0dc2434bd8dbe01448598b7afa0f01c8fbd2 | |
parent | d09451583bc2fa96d63dc8c7293e5357fa36df12 (diff) | |
download | aur-8e230dfc8b8231a36303f12591881c4dd1a0968e.tar.gz |
set startupwmclass in .desktop file
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 9 | ||||
-rw-r--r-- | startupwmclass.patch | 9 |
3 files changed, 19 insertions, 5 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Sat Feb 13 00:05:02 UTC 2016 +# Sat Feb 13 00:39:57 UTC 2016 pkgbase = atom-editor-bin pkgdesc = Chrome-based text editor from Github - Precompiled binary from official repository pkgver = 1.5.3 - pkgrel = 1 + pkgrel = 2 url = https://github.com/atom/atom install = atom-editor-bin.install arch = x86_64 @@ -26,8 +26,10 @@ pkgbase = atom-editor-bin options = !strip source = atom-amd64-v1.5.3.deb::https://github.com/atom/atom/releases/download/v1.5.3/atom-amd64.deb source = atom-python.patch + source = startupwmclass.patch md5sums = 25fea54d94871237be3559ce38a70627 md5sums = 9c752be551429c6ce5946d4fcae24464 + md5sums = d472858970fc4ba6f63197729b65607c pkgname = atom-editor-bin @@ -7,7 +7,7 @@ pkgname=atom-editor-bin pkgver=1.5.3 -pkgrel=1 +pkgrel=2 pkgdesc="Chrome-based text editor from Github - Precompiled binary from official repository" arch=('x86_64') url="https://github.com/atom/atom" @@ -19,13 +19,16 @@ conflicts=('atom-editor' 'atom-editor-git' 'atom-editor-git-tagged') install=$pkgname.install md5sums=('25fea54d94871237be3559ce38a70627' - '9c752be551429c6ce5946d4fcae24464') + '9c752be551429c6ce5946d4fcae24464' + 'd472858970fc4ba6f63197729b65607c') source=("atom-amd64-v${pkgver}.deb::https://github.com/atom/atom/releases/download/v${pkgver}/atom-amd64.deb" - atom-python.patch) + atom-python.patch + startupwmclass.patch) package() { bsdtar xf data.tar.gz patch -p1 < "${srcdir}"/atom-python.patch + patch -p1 < "${srcdir}"/startupwmclass.patch sed -i 's|env PYTHON=python2 GTK_IM_MODULE= QT_IM_MODULE= XMODIFIERS= /usr/share/atom/atom|/usr/bin/atom|' usr/share/applications/atom.desktop chmod -R g-w usr mv usr "${pkgdir}" diff --git a/startupwmclass.patch b/startupwmclass.patch new file mode 100644 index 000000000000..92b32035bd30 --- /dev/null +++ b/startupwmclass.patch @@ -0,0 +1,9 @@ +--- a/usr/share/applications/atom.desktop ++++ b/usr/share/applications/atom.desktop +@@ -6,5 +6,6 @@ Exec=/usr/bin/atom %U + Icon=atom + Type=Application + StartupNotify=true ++StartupWMClass=Atom + Categories=GNOME;GTK;Utility;TextEditor;Development; + MimeType=text/plain; |