2018-02-19 11:57:56 +00:00
|
|
|
#Template file for 'chatty'
|
|
|
|
pkgname=chatty
|
2018-04-03 08:52:47 +00:00
|
|
|
version=0.9.1
|
|
|
|
revision=1
|
2018-02-19 11:57:56 +00:00
|
|
|
noarch=yes
|
|
|
|
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/"
|
2018-04-03 08:52:47 +00:00
|
|
|
distfiles="
|
|
|
|
https://github.com/chatty/chatty/archive/v${version}.tar.gz
|
|
|
|
http://chatty.github.io/Chatty_icon_256x256.png>chatty.png"
|
2018-02-19 11:57:56 +00:00
|
|
|
skip_extraction="chatty.png"
|
2018-04-03 08:52:47 +00:00
|
|
|
checksum="
|
|
|
|
0286f5987599cbca2862a286fdb89bb4371e6c64e849652a038546c489b68ef7
|
|
|
|
8821ea5bca093b01ec244b80a76df95211aa2c151fc6320e0d3e98380108d904"
|
2018-02-19 11:57:56 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2018-03-02 07:15:20 +00:00
|
|
|
vbin $FILESDIR/${pkgname}
|
2018-02-19 11:57:56 +00:00
|
|
|
|
|
|
|
vinstall ${XBPS_SRCDISTDIR}/${pkgname}-${version}/chatty.png 644 usr/share/pixmaps
|
|
|
|
|
|
|
|
vlicense assets/LICENSE
|
|
|
|
}
|