summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO18
-rw-r--r--.gitignore5
-rw-r--r--PKGBUILD26
-rw-r--r--README.md3
-rw-r--r--weki-input-helper.desktop10
-rw-r--r--weki-input-helper.run3
6 files changed, 65 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..8654b7b7cd8
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = weki-input-helper
+ pkgdesc = Helps with signal transformation for Wekinator inputs.
+ pkgver = 1.0.1
+ pkgrel = 1
+ url = http://www.wekinator.org/
+ arch = any
+ depends = java-runtime
+ source = https://github.com/fiebrink1/WekiInputHelper/releases/download/v1.0.1/WekiInputHelper-1.0.1_AnyOS.zip
+ source = icon.icns::https://github.com/fiebrink1/WekiInputHelper/raw/master/src/wekiinputhelper/icons/wekihelper.icns
+ source = weki-input-helper.run
+ source = weki-input-helper.desktop
+ md5sums = 94593da7306747e41cc8377929dc5779
+ md5sums = bb9bbc91296553017fd5a4986d71e781
+ md5sums = df68c63b33a7c7ec6bad2d23fa137b5e
+ md5sums = 61c278576e1878d6454dc6ed8d697ec4
+
+pkgname = weki-input-helper
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..2aedccf8938
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,5 @@
+pkg
+src
+*.zip
+icon*
+*.pkg.tar
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..8d3cd5c96e6
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+pkgname=weki-input-helper
+pkgver=1.0.1
+pkgrel=1
+pkgdesc='Helps with signal transformation for Wekinator inputs.'
+arch=('any')
+url='http://www.wekinator.org/'
+depends=('java-runtime')
+source=(https://github.com/fiebrink1/WekiInputHelper/releases/download/v$pkgver/WekiInputHelper-${pkgver}_AnyOS.zip
+ icon.icns::https://github.com/fiebrink1/WekiInputHelper/raw/master/src/wekiinputhelper/icons/wekihelper.icns
+ "$pkgname.run"
+ "$pkgname.desktop")
+md5sums=('94593da7306747e41cc8377929dc5779'
+ 'bb9bbc91296553017fd5a4986d71e781'
+ 'df68c63b33a7c7ec6bad2d23fa137b5e'
+ '61c278576e1878d6454dc6ed8d697ec4')
+
+package() {
+ install -m 644 -D "$srcdir/WekiInputHelper.jar" "$pkgdir/usr/share/java/$pkgname/WekiInputHelper.jar"
+ for filepath in $srcdir/lib/*.jar ;do
+ install -m 644 -D "$filepath" "$pkgdir/usr/share/java/$pkgname/lib/$(basename $filepath)"
+ done
+
+ install -m 755 -D "$pkgname.run" "$pkgdir/usr/bin/$pkgname"
+ install -m 644 -D "$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
+ install -m 644 -D "icon.icns" "$pkgdir/usr/share/$pkgname/icon.icns"
+}
diff --git a/README.md b/README.md
new file mode 100644
index 00000000000..821e2317b8a
--- /dev/null
+++ b/README.md
@@ -0,0 +1,3 @@
+# aur-weki-input-helper
+
+An [AUR package](https://aur.archlinux.org/packages/wekimini/) for the [WekiInputHeler](http://www.wekinator.org/input-helper/), which helps with signal transformation for Wekinator inputs.
diff --git a/weki-input-helper.desktop b/weki-input-helper.desktop
new file mode 100644
index 00000000000..813bc166545
--- /dev/null
+++ b/weki-input-helper.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Type=Application
+Version=1.0
+Name=WekiInputHelper
+Comment=Helps with signal transformation for Wekinator inputs.
+Path=/usr/share/java/weki-input-helper
+Exec=weki-input-helper
+Icon=/usr/share/weki-input-helper/icon.icns
+Terminal=false
+Categories=Music;Java;
diff --git a/weki-input-helper.run b/weki-input-helper.run
new file mode 100644
index 00000000000..030e0572e4a
--- /dev/null
+++ b/weki-input-helper.run
@@ -0,0 +1,3 @@
+#!/usr/bin/env bash
+
+exec /usr/bin/java -jar '/usr/share/java/weki-input-helper/WekiInputHelper.jar' "$@"