summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorbionade242020-04-08 22:09:55 +0200
committerbionade242020-04-08 22:09:55 +0200
commit34ba3befde0c40cd40a22c795f102003312b5b9c (patch)
tree728a6fd9ccf72c3ca6c734c0a74b25ed1c0ce1ba
parent163d11d0e029d4e9d3441f23b5277a177cfe711b (diff)
downloadaur-34ba3befde0c40cd40a22c795f102003312b5b9c.tar.gz
Add .desktop entry for vesc-tool
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD17
-rwxr-xr-xvesc-tool.desktop9
-rw-r--r--vesc-tool.pngbin0 -> 6750 bytes
4 files changed, 29 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d7c7a7db4a8b..05d1327218f8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = vesc_tool-git
pkgdesc = VESC ESC graphical configuration tool
pkgver = 2.03
- pkgrel = 1
+ pkgrel = 2
url = https://vesc-project.com/vesc_tool
arch = i686
arch = x86_64
@@ -15,10 +15,15 @@ pkgbase = vesc_tool-git
depends = qt5-quickcontrols2
depends = qt5-serialport
depends = qt5-location
+ conflicts = vesc-tool
source = vesc_tool-git::git+https://github.com/vedderb/vesc_tool.git
source = vesc_tool.pro
+ source = vesc-tool.desktop
+ source = vesc-tool.png
sha256sums = SKIP
sha256sums = fb9eb66d9ef00606f61754a7efa8dbab18dff810c674a106e2e770e62899be68
+ sha256sums = a0d31826279e900ab614744afad1a26b849440c298d8a5e6e318df554beebdde
+ sha256sums = ace90b5a9bd1001e234800b935d3622c6a10c73445f726677e838d51fe4c8e02
pkgname = vesc_tool-git
diff --git a/PKGBUILD b/PKGBUILD
index 6621df8c1c96..d6cf4c13e405 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,18 +1,23 @@
pkgname=vesc_tool-git
pkgver=2.03
-pkgrel=1
+pkgrel=2
pkgdesc="VESC ESC graphical configuration tool"
arch=('i686' 'x86_64' 'aarch64' 'armv7h' 'armv6h')
url="https://vesc-project.com/vesc_tool"
license=('GPL3')
depends=('qt5-base' 'qt5-connectivity' 'qt5-quickcontrols2' 'qt5-serialport' 'qt5-location')
makedepends=('git')
+conflicts=('vesc-tool')
source=("$pkgname"::"git+https://github.com/vedderb/vesc_tool.git"
- 'vesc_tool.pro')
+ 'vesc_tool.pro'
+ 'vesc-tool.desktop'
+ 'vesc-tool.png')
sha256sums=('SKIP'
- 'fb9eb66d9ef00606f61754a7efa8dbab18dff810c674a106e2e770e62899be68')
+ 'fb9eb66d9ef00606f61754a7efa8dbab18dff810c674a106e2e770e62899be68'
+ 'a0d31826279e900ab614744afad1a26b849440c298d8a5e6e318df554beebdde'
+ 'ace90b5a9bd1001e234800b935d3622c6a10c73445f726677e838d51fe4c8e02')
pkgver() {
cd "${srcdir}/${pkgname}"
@@ -33,5 +38,11 @@ build() {
package() {
cd "$srcdir/${pkgname}"
make INSTALL_ROOT="$pkgdir" install
+
+ install -Dm644 ../vesc-tool.desktop \
+ "$pkgdir/usr/share/applications/vesc-tool.desktop"
+
+ install -Dm644 ../vesc-tool.png \
+ "$pkgdir/usr/share/icons/vesc-tool.png"
}
diff --git a/vesc-tool.desktop b/vesc-tool.desktop
new file mode 100755
index 000000000000..ce3ff71bc93b
--- /dev/null
+++ b/vesc-tool.desktop
@@ -0,0 +1,9 @@
+#!/usr/bin/env xdg-open
+[Desktop Entry]
+Name=VESC Tool
+Comment=VESC ESC configuration tool
+Exec=/usr/bin/vesc_tool
+Terminal=false
+Type=Application
+Icon=vesc-tool
+Categories=Education;Development;
diff --git a/vesc-tool.png b/vesc-tool.png
new file mode 100644
index 000000000000..c44adaddffcb
--- /dev/null
+++ b/vesc-tool.png
Binary files differ