summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 177631328c207a71365b69a7d554733f1126c4b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Maintainer: Jace Bennest <jacebennest87 at gmail dot com>
# Contributor: skydrome <skydrome at i2pmail dot org>
# Contributor: StevensNJD4 <github dot com slash StevensNJD4>

pkgname=lazyman
pkgver=2.4.0.20180511
pkgrel=1
pkgdesc="A simple program that lets you stream every NHL and MLB game"
arch=('any')
url="https://github.com/StevensNJD4/LazyMan"
license=('GPL2')
depends=('java-runtime>=8' 'streamlink')
optdepends=('vlc: requires a video player - choose one' 'mpv: requires a video player - choose one')
backup=('usr/share/java/lazyman/config.properties')

source=("https://github.com/StevensNJD4/LazyMan/releases/download/${pkgver}/Mac_Linux.zip"
	'config.properties'
	"$pkgname".sh
	"$pkgname".desktop
	"$pkgname".png
	"$pkgname".svg)

package() {
    cd "$srcdir"
    install -dm755 "$pkgdir"/usr/bin
    install -dm755 "$pkgdir"/usr/share/applications
    install -dm755 "$pkgdir"/usr/share/icons
    install -dm755 "$pkgdir"/usr/share/icons/Numix-Circle/16/apps
    install -dm755 "$pkgdir"/usr/share/icons/Numix-Circle/22/apps
    install -dm755 "$pkgdir"/usr/share/icons/Numix-Circle/24/apps
    install -dm755 "$pkgdir"/usr/share/icons/Numix-Circle/48/apps
    install -dm777 "$pkgdir"/usr/share/java/lazyman
    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/16/apps/lazyman.svg
    install -Dm644 lazyman.svg               "$pkgdir"/usr/share/icons/Numix-Circle/22/apps/lazyman.svg
    install -Dm644 lazyman.svg               "$pkgdir"/usr/share/icons/Numix-Circle/24/apps/lazyman.svg
    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.jar               "$pkgdir"/usr/share/java/lazyman/LazyMan.jar
}

md5sums=('7c586b9d8ba02032fe97c19de2fd0464'
         'd41d8cd98f00b204e9800998ecf8427e'
         'b387dc6c2bdf54718d6d2e48f9f37e3d'
         'cc5998a228727420cbf7d07fc5318920'
         '41aebb968e8b6856d1b73cabd6a8c5d2'
         '838805914545f8ece3df2115b638252f')