summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorTom Gurion2016-04-15 22:45:51 +0300
committerTom Gurion2016-04-15 22:59:30 +0300
commit4bb658d04aa5452e406447751f4a3cedeef629fb (patch)
treed3b54e8c5c624ab88951597a7fe3ec02e64f7aa5 /PKGBUILD
downloadaur-weki-input-helper.tar.gz
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD26
1 files changed, 26 insertions, 0 deletions
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"
+}