summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorchuvke2017-07-02 15:54:51 +0200
committerchuvke2017-07-02 15:54:51 +0200
commit9a17e2fe6451abec6e89a3ed8e3ed7ccbff93520 (patch)
tree1d826895150baa921379d8eb63468583a088da8c
downloadaur-9a17e2fe6451abec6e89a3ed8e3ed7ccbff93520.tar.gz
Initial revision
-rw-r--r--.SRCINFO24
-rw-r--r--PKGBUILD39
-rw-r--r--waveforms-live3
-rw-r--r--waveforms-live.desktop5
4 files changed, 71 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..f195fd46c3f
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,24 @@
+pkgbase = digilent-waveforms-live
+ pkgdesc = browser app to control the OpenScopeMZ hardware
+ pkgver = 1.0.6
+ pkgrel = 1
+ url = https://reference.digilentinc.com/reference/software/waveforms-live/start
+ arch = i686
+ arch = x86_64
+ license = MIT
+ makedepends = git
+ makedepends = unzip
+ depends = digilent-agent
+ depends = xdg-utils
+ noextract = waveforms-live-1.0.6.zip
+ source = https://s3-us-west-2.amazonaws.com/digilent/Software/WaveForms+Live/1.0.6/waveforms-live-1.0.6.zip
+ source = https://github.com/Digilent/waveforms-live/raw/6923c91afc7bc3402b10bf56179ad1e070bee925/LICENSE
+ source = waveforms-live.desktop
+ source = waveforms-live
+ sha256sums = 0a1300a011afc71c6eeb4e94385299000177a147ac3e5482d3e48ea587d057ee
+ sha256sums = fbdfae05e542ea6ad7e11e3818076b46d2b6bd81dac49c59bc9ac78025ba5339
+ sha256sums = 74ada5e32ece8b7746f181c2dd46ecebc5017c804252b8315bb8022b062f7954
+ sha256sums = e205e254ea747ca6b5aa6eb72a60d35e00006db5aa16f327aa40005e3988d397
+
+pkgname = digilent-waveforms-live
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..ba0bbb0fa8f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,39 @@
+# Maintainer: chuvke <chuvke AT gmail DOT com>
+pkgname=digilent-waveforms-live
+pkgver=1.0.6
+pkgrel=1
+epoch=
+pkgdesc="browser app to control the OpenScopeMZ hardware"
+arch=('i686' 'x86_64')
+url="https://reference.digilentinc.com/reference/software/waveforms-live/start"
+license=('MIT')
+depends=(digilent-agent xdg-utils)
+makedepends=(git unzip)
+
+source=("https://s3-us-west-2.amazonaws.com/digilent/Software/WaveForms+Live/$pkgver/waveforms-live-$pkgver.zip"
+ "https://github.com/Digilent/waveforms-live/raw/6923c91afc7bc3402b10bf56179ad1e070bee925/LICENSE"
+ "waveforms-live.desktop"
+ "waveforms-live")
+
+sha256sums=('0a1300a011afc71c6eeb4e94385299000177a147ac3e5482d3e48ea587d057ee'
+ 'fbdfae05e542ea6ad7e11e3818076b46d2b6bd81dac49c59bc9ac78025ba5339'
+ '74ada5e32ece8b7746f181c2dd46ecebc5017c804252b8315bb8022b062f7954'
+ 'e205e254ea747ca6b5aa6eb72a60d35e00006db5aa16f327aa40005e3988d397')
+
+noextract=("waveforms-live-$pkgver.zip")
+
+prepare() {
+ unzip -Xo "waveforms-live-$pkgver.zip" -d "$srcdir"
+}
+
+package() {
+ install -dm 755 "$pkgdir/usr/share/webapps/$pkgname"
+ cp -r "WFLv$pkgver/." "$pkgdir/usr/share/webapps/$pkgname/"
+
+ install -Dm 644 "waveforms-live.desktop" "${pkgdir}/usr/share/applications/waveforms-live.desktop"
+
+ # This launch script uses xdg-open to opne the webapp in your default webbrowser
+ install -Dm 755 "waveforms-live" "$pkgdir/usr/bin/waveforms-live"
+
+ install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/MIT-LICENSE
+}
diff --git a/waveforms-live b/waveforms-live
new file mode 100644
index 00000000000..81d5123e9a9
--- /dev/null
+++ b/waveforms-live
@@ -0,0 +1,3 @@
+#!/bin/sh
+digilent-agent &
+xdg-open /usr/share/webapps/digilent-waveforms-live/index.html
diff --git a/waveforms-live.desktop b/waveforms-live.desktop
new file mode 100644
index 00000000000..8f5f3e22629
--- /dev/null
+++ b/waveforms-live.desktop
@@ -0,0 +1,5 @@
+[Desktop Entry]
+Name=waveforms-live
+Type=Application
+Exec=/usr/bin/waveforms-live
+Icon=/usr/share/webapps/digilent-waveforms-live/assets/img/waveforms-live.svg