summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD24
-rw-r--r--lazyman.sh5
3 files changed, 10 insertions, 32 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a6dd03cf41e..b6baec83329 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,3 +1,5 @@
+# Generated by mksrcinfo v8
+# Wed Feb 28 00:52:37 UTC 2018
pkgbase = lazyman
pkgdesc = A simple program that lets you stream every NHL and MLB game
pkgver = 2.3.0.20180226
@@ -5,25 +7,20 @@ pkgbase = lazyman
url = https://github.com/StevensNJD4/LazyMan
arch = any
license = GPL2
- makedepends = java-environment>=8
- makedepends = apache-ant
- makedepends = git
depends = java-runtime>=8
depends = streamlink
optdepends = vlc: requires a video player - choose one
optdepends = mpv: requires a video player - choose one
- conflicts = lazyman
- conflicts = lazyman-git
backup = usr/share/java/lazyman/config.properties
- source = git+https://github.com/StevensNJD4/LazyMan.git#commit=30374572eed67f134cc9b54b4601233fc4b52c7b
+ source = https://github.com/StevensNJD4/LazyMan/releases/download/2.3.0.20180226/Mac_Linux.zip
source = config.properties
source = lazyman.sh
source = lazyman.desktop
source = lazyman.png
source = lazyman.svg
- md5sums = SKIP
+ md5sums = 8e8b9b2f7b322917c9bd2cf32b5df18c
md5sums = d41d8cd98f00b204e9800998ecf8427e
- md5sums = b76d76bc5941418f8f3048b941fa8228
+ md5sums = b387dc6c2bdf54718d6d2e48f9f37e3d
md5sums = 298ca421d04992c9a9c224dff3a459a3
md5sums = 41aebb968e8b6856d1b73cabd6a8c5d2
md5sums = 838805914545f8ece3df2115b638252f
diff --git a/PKGBUILD b/PKGBUILD
index f7289dc9e79..bf0fbea86ce 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,29 +10,16 @@ arch=('any')
url="https://github.com/StevensNJD4/LazyMan"
license=('GPL2')
depends=('java-runtime>=8' 'streamlink')
-makedepends=('java-environment>=8' 'apache-ant' 'git')
optdepends=('vlc: requires a video player - choose one' 'mpv: requires a video player - choose one')
backup=('usr/share/java/lazyman/config.properties')
-conflicts=('lazyman' 'lazyman-git')
-source=('git+https://github.com/StevensNJD4/LazyMan.git#commit=30374572eed67f134cc9b54b4601233fc4b52c7b'
+source=("https://github.com/StevensNJD4/LazyMan/releases/download/${pkgver}/Mac_Linux.zip"
'config.properties'
"$pkgname".sh
"$pkgname".desktop
"$pkgname".png
"$pkgname".svg)
-pkgver() {
- cd "$srcdir/LazyMan"
- cat VERSION
-}
-
-build() {
- cd "$srcdir/LazyMan"
- rm -rf build dist store
- ant -Dplatforms.JDK_1.8.home=/usr/lib/jvm/default jar
-}
-
package() {
cd "$srcdir"
install -dm755 "$pkgdir"/usr/bin
@@ -40,20 +27,17 @@ package() {
install -dm755 "$pkgdir"/usr/share/icons
install -dm755 "$pkgdir"/usr/share/icons/Numix-Circle/48/apps
install -dm777 "$pkgdir"/usr/share/java/lazyman
- install -dm755 "$pkgdir"/usr/share/java/lazyman/lib
install -Dm755 lazyman.sh "$pkgdir"/usr/bin/lazyman
install -Dm644 lazyman.desktop "$pkgdir"/usr/share/applications/lazyman.desktop
install -Dm644 lazyman.png "$pkgdir"/usr/share/icons/lazyman.png
install -Dm644 lazyman.svg "$pkgdir"/usr/share/icons/Numix-Circle/48/apps/lazyman.svg
install -Dm777 config.properties "$pkgdir"/usr/share/java/lazyman/config.properties
- install -Dm644 LazyMan/dist/LazyMan.jar "$pkgdir"/usr/share/java/lazyman/LazyMan.jar
- install -Dm644 LazyMan/src/lazyman/*.jar "$pkgdir"/usr/share/java/lazyman/lib/
+ install -Dm644 LazyMan.jar "$pkgdir"/usr/share/java/lazyman/LazyMan.jar
}
-
-md5sums=('SKIP'
+md5sums=('8e8b9b2f7b322917c9bd2cf32b5df18c'
'd41d8cd98f00b204e9800998ecf8427e'
- 'b76d76bc5941418f8f3048b941fa8228'
+ 'b387dc6c2bdf54718d6d2e48f9f37e3d'
'298ca421d04992c9a9c224dff3a459a3'
'41aebb968e8b6856d1b73cabd6a8c5d2'
'838805914545f8ece3df2115b638252f')
diff --git a/lazyman.sh b/lazyman.sh
index 52200f3cb4e..4156217fbc3 100644
--- a/lazyman.sh
+++ b/lazyman.sh
@@ -1,6 +1,3 @@
#!/usr/bin/env bash
-cpath=/usr/share/java/lazyman/lib
-java -cp \
- $cpath/gson-2.7.jar:$cpath/jcalendar-1.4.jar:$cpath/AppleJavaExtensions-1.4.jar:/usr/share/java/lazyman/LazyMan.jar \
- lazyman.LazyMan
+java -jar /usr/share/java/lazyman/LazyMan.jar