summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD18
2 files changed, 18 insertions, 14 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4b13c412836..a735e4e7cc3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,17 +1,19 @@
-# Generated by mksrcinfo v8
-# Sun Mar 27 18:25:29 UTC 2016
pkgbase = hotsuploader
pkgdesc = Replay uploader for Heroes of the Storm
- pkgver = 2.0.3
+ pkgver = 2.1.5
pkgrel = 1
url = https://github.com/eivindveg/HotSUploader
arch = any
license = apache
+ makedepends = jdk8-openjdk
+ makedepends = java-openjfx
makedepends = maven
- depends = jdk
- source = https://github.com/eivindveg/HotSUploader/archive/v2.0.3.tar.gz
+ depends = bash
+ depends = java-environment
+ noextract = hotsuploader
+ source = hotsuploader-2.1.5.tar.gz::https://github.com/eivindveg/HotSUploader/archive/v2.1.5.tar.gz
source = hotsuploader
- sha256sums = 7598d1adf66580c29f8419a9bb8670e7807075d3953ed33fd86d34e3b3713812
+ sha256sums = 72a6c3cae96d2c259099daa957a8cb6ff6e41bf9541941d4108389ec3ccf0e64
sha256sums = 5e7f5a812f482b53771f63976603c694319eba9520e82f9e0797bc8b4db897b6
pkgname = hotsuploader
diff --git a/PKGBUILD b/PKGBUILD
index f15f21e5832..0a6d0c283b8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,24 +1,26 @@
-# Maintainer: Your Name <youremail@domain.com>
+# Maintainer: Yrz0 <yrz0@subride.de>
+# Contributor: heinrich5991
pkgname=hotsuploader
-pkgver=2.0.3
+pkgver=2.1.5
pkgrel=1
pkgdesc="Replay uploader for Heroes of the Storm"
arch=('any')
url="https://github.com/eivindveg/HotSUploader"
license=('apache')
-depends=('jdk')
-makedepends=('maven')
-source=("https://github.com/eivindveg/HotSUploader/archive/v$pkgver.tar.gz" 'hotsuploader')
-sha256sums=('7598d1adf66580c29f8419a9bb8670e7807075d3953ed33fd86d34e3b3713812'
+depends=('bash' 'java-environment')
+makedepends=('jdk8-openjdk' 'java-openjfx' 'maven')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/eivindveg/HotSUploader/archive/v$pkgver.tar.gz" "hotsuploader")
+noextract=("hotsuploader")
+sha256sums=('72a6c3cae96d2c259099daa957a8cb6ff6e41bf9541941d4108389ec3ccf0e64'
'5e7f5a812f482b53771f63976603c694319eba9520e82f9e0797bc8b4db897b6')
build() {
cd HotSUploader-"$pkgver"
- mvn clean package
+ mvn clean install
}
package() {
cd HotSUploader-"$pkgver"
- install -Dm644 target/*-jar-with-dependencies.jar "$pkgdir"/usr/lib/hotsuploader.jar
+ install -Dm644 "target/HotS Replay Uploader-boot.jar" "$pkgdir"/usr/lib/hotsuploader.jar
install -Dm755 ../hotsuploader "$pkgdir"/usr/bin/hotsuploader
}