summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorfrederik2017-06-20 23:49:05 +0200
committerfrederik2017-06-20 23:49:48 +0200
commita2272b7dd7e0f0b32d148edb1edd800084f2282f (patch)
treeddf1f7aee866eff859a3c244b1ecea83d6950770
parent5cd19af4da6c20d188be4c4d0ec1d70478807b2c (diff)
downloadaur-a2272b7dd7e0f0b32d148edb1edd800084f2282f.tar.gz
add desktop file
-rw-r--r--.SRCINFO6
-rwxr-xr-xPKGBUILD14
-rw-r--r--jetbrains-toolbox.desktop10
3 files changed, 22 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2bef4054352..0f2c92c3ddd 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Thu May 25 16:27:07 UTC 2017
+# Tue Jun 20 21:48:57 UTC 2017
pkgbase = jetbrains-toolbox
pkgdesc = Manage all your JetBrains Projects and Tools
pkgver = 1.3.2421
- pkgrel = 2
+ pkgrel = 3
url = http://www.jetbrains.com/toolbox/
arch = x86_64
arch = i686
@@ -14,7 +14,9 @@ pkgbase = jetbrains-toolbox
optdepends = java-runtime-common: use system java
options = !strip
source = https://download.jetbrains.com/toolbox/jetbrains-toolbox-1.3.2421.tar.gz
+ source = jetbrains-toolbox.desktop
sha512sums = de41175bd83b68b9779ec02e2b43078b421e2b5b8cc32bd1b0f20230ef139734ce73bdb3a5321ead00fe42572976282a5f99b3fa2eec6d9145843bcd50ff8a13
+ sha512sums = 727b6378a8e3803c552ccae2c0d252eb8e79d213eabeecbd00bc25352cd0ffc6f53abaabf016688136822a65a76b2838f99e909931c21f49382934332446d1b4
pkgname = jetbrains-toolbox
diff --git a/PKGBUILD b/PKGBUILD
index 979c58c8146..a9b40a23f14 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,22 +2,24 @@
pkgname=jetbrains-toolbox
pkgver=1.3.2421
-pkgrel=2
+pkgrel=3
pkgdesc='Manage all your JetBrains Projects and Tools'
arch=('x86_64' 'i686')
-license=('Commercial')
url='http://www.jetbrains.com/toolbox/'
-options=('!strip')
+license=('Commercial')
depends=('fuse' 'glib2')
optdepends=('java-environment>=8: use system java'
'java-runtime-common: use system java')
-source=(https://download.jetbrains.com/toolbox/${pkgname}-${pkgver}.tar.gz)
-sha512sums=('de41175bd83b68b9779ec02e2b43078b421e2b5b8cc32bd1b0f20230ef139734ce73bdb3a5321ead00fe42572976282a5f99b3fa2eec6d9145843bcd50ff8a13')
+options=('!strip')
+source=(https://download.jetbrains.com/toolbox/${pkgname}-${pkgver}.tar.gz
+ jetbrains-toolbox.desktop)
+sha512sums=('de41175bd83b68b9779ec02e2b43078b421e2b5b8cc32bd1b0f20230ef139734ce73bdb3a5321ead00fe42572976282a5f99b3fa2eec6d9145843bcd50ff8a13'
+ '727b6378a8e3803c552ccae2c0d252eb8e79d213eabeecbd00bc25352cd0ffc6f53abaabf016688136822a65a76b2838f99e909931c21f49382934332446d1b4')
package() {
- install -d -m 755 "${pkgdir}/opt/${pkgname}"
install -d -m 755 "${pkgdir}/usr/bin/"
+ install -D -m 644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
install -D -m 755 "${srcdir}/${pkgname}-${pkgver}/${pkgname}" "${pkgdir}/opt/${pkgname}/${pkgname}"
ln -s "/opt/${pkgname}/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
diff --git a/jetbrains-toolbox.desktop b/jetbrains-toolbox.desktop
new file mode 100644
index 00000000000..4a066211096
--- /dev/null
+++ b/jetbrains-toolbox.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Version=1.0
+Type=Application
+Name=Jetbrains-Toolbox
+Icon=/opt/jetbrains-toolbox/jetbrains-toolbox
+Exec="/opt/jetbrains-toolbox/jetbrains-toolbox"
+Comment=Manage all your JetBrains Projects and Tools
+Categories=Development;Tools;
+Terminal=false
+StartupWMClass=jetbrains-toolbox