summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorClemens Brunner2017-10-18 09:15:14 +0200
committerClemens Brunner2017-10-18 09:15:14 +0200
commit45d0f4d798389171d1f81ec69e75a514e9b5fb8c (patch)
tree0c653207a94ae86426c33fca6bf231ea3569eaca
parent61688867617799c1b1f0746c908a9a7c811fac0a (diff)
downloadaur-45d0f4d798389171d1f81ec69e75a514e9b5fb8c.tar.gz
Add desktop launcher and icon
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD12
-rw-r--r--sigviewer.desktop10
3 files changed, 22 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index fe9de5eae7f..61f5e3cbb23 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = sigviewer
pkgdesc = A viewing application for biosignals
pkgver = 0.6.1
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/cbrnr/sigviewer
arch = i686
arch = x86_64
@@ -11,8 +11,10 @@ pkgbase = sigviewer
depends = libxdf
source = https://github.com/cbrnr/sigviewer/archive/v0.6.1.zip
source = sigviewer.patch
+ source = sigviewer.desktop
sha1sums = 264f3d01da215c7493a566509f05eb7f25e56ee0
sha1sums = 5d61d2fd18876c4ad8c6b0840a31da01d3f517d6
+ sha1sums = 72fc9741a985ef783c2c3e7ea5b51655ebc94d84
pkgname = sigviewer
diff --git a/PKGBUILD b/PKGBUILD
index 06d34fe6d1b..918cf91788a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Clemens Brunner <clemens dot brunner at gmail dot com>
pkgname=sigviewer
pkgver=0.6.1
-pkgrel=2
+pkgrel=3
pkgdesc="A viewing application for biosignals"
arch=('i686' 'x86_64')
url="https://github.com/cbrnr/sigviewer"
@@ -18,10 +18,12 @@ options=()
install=
changelog=
source=(https://github.com/cbrnr/sigviewer/archive/v$pkgver.zip
- sigviewer.patch)
+ sigviewer.patch
+ sigviewer.desktop)
noextract=()
sha1sums=('264f3d01da215c7493a566509f05eb7f25e56ee0'
- '5d61d2fd18876c4ad8c6b0840a31da01d3f517d6')
+ '5d61d2fd18876c4ad8c6b0840a31da01d3f517d6'
+ '72fc9741a985ef783c2c3e7ea5b51655ebc94d84')
build() {
patch "$srcdir/sigviewer-$pkgver/sigviewer.pro" sigviewer.patch
@@ -32,5 +34,9 @@ build() {
package() {
mkdir -p "$pkgdir/usr/bin"
+ mkdir -p "$pkgdir/usr/share/applications"
+ mkdir -p "$pkgdir/usr/share/icons"
cp "$srcdir/sigviewer-$pkgver/bin/release/sigviewer" "$pkgdir/usr/bin"
+ cp sigviewer.desktop "$pkgdir/usr/share/applications"
+ cp "$srcdir/sigviewer-$pkgver/sigviewer.svg" "$pkgdir/usr/share/icons"
}
diff --git a/sigviewer.desktop b/sigviewer.desktop
new file mode 100644
index 00000000000..e75e7f2486b
--- /dev/null
+++ b/sigviewer.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Type=Application
+Version=1.0
+Name=SigViewer
+GenericName=Biosignal Viewer
+Comment=A viewing application for biosignals
+Exec=sigviewer %f
+Icon=sigviewer
+Terminal=false
+Categories=Science