summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorClemens Brunner2017-10-18 09:15:14 +0200
committerClemens Brunner2017-10-18 09:15:14 +0200
commit45d0f4d798389171d1f81ec69e75a514e9b5fb8c (patch)
tree0c653207a94ae86426c33fca6bf231ea3569eaca /PKGBUILD
parent61688867617799c1b1f0746c908a9a7c811fac0a (diff)
downloadaur-45d0f4d798389171d1f81ec69e75a514e9b5fb8c.tar.gz
Add desktop launcher and icon
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD12
1 files changed, 9 insertions, 3 deletions
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"
}