691213402d
[ci skip]
43 lines
1.3 KiB
Bash
43 lines
1.3 KiB
Bash
#Template file for 'chatty'
|
|
pkgname=chatty
|
|
version=0.9.1
|
|
revision=1
|
|
archs=noarch
|
|
hostmakedepends="openjdk gradle"
|
|
depends="virtual?java-runtime"
|
|
short_desc="Chatty is a Twitch Chat Client for Desktop"
|
|
maintainer="Phenethylamine <beta.phenylethylamine@gmail.com>"
|
|
license="GPL-3"
|
|
homepage="http://chatty.github.io/"
|
|
distfiles="
|
|
https://github.com/chatty/chatty/archive/v${version}.tar.gz
|
|
http://chatty.github.io/Chatty_icon_256x256.png>chatty.png"
|
|
skip_extraction="chatty.png"
|
|
checksum="
|
|
0286f5987599cbca2862a286fdb89bb4371e6c64e849652a038546c489b68ef7
|
|
8821ea5bca093b01ec244b80a76df95211aa2c151fc6320e0d3e98380108d904"
|
|
broken="http://chatty.github.io/Chatty_icon_256x256.png is 404"
|
|
|
|
do_build() {
|
|
gradle shadowJar
|
|
}
|
|
|
|
do_install() {
|
|
vmkdir usr/share/${pkgname}
|
|
vinstall build/libs/Chatty.jar 644 usr/share/${pkgname}
|
|
|
|
vmkdir usr/share/${pkgname}/img
|
|
vinstall assets/img/chatty.png 644 usr/share/${pkgname}/img
|
|
vinstall assets/img/star.png 644 usr/share/${pkgname}/img
|
|
|
|
vmkdir usr/share/${pkgname}/sounds
|
|
vinstall assets/sounds/ding.wav 644 usr/share/${pkgname}/sounds
|
|
vinstall assets/sounds/dingdong.wav 644 usr/share/${pkgname}/sounds
|
|
vinstall assets/sounds/typing.wav 644 usr/share/${pkgname}/sounds
|
|
|
|
vbin $FILESDIR/${pkgname}
|
|
|
|
vinstall ${XBPS_SRCDISTDIR}/${pkgname}-${version}/chatty.png 644 usr/share/pixmaps
|
|
|
|
vlicense assets/LICENSE
|
|
}
|