39 lines
1.3 KiB
Bash
39 lines
1.3 KiB
Bash
|
#Template file for 'chatty'
|
||
|
pkgname=chatty
|
||
|
version=0.9
|
||
|
revision=1
|
||
|
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/"
|
||
|
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="856623df053fa5a4498df736825380834c4c5ef9407f81ba13cc947e3fed1a99 8821ea5bca093b01ec244b80a76df95211aa2c151fc6320e0d3e98380108d904"
|
||
|
|
||
|
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} 755 usr/bin/
|
||
|
|
||
|
vinstall ${XBPS_SRCDISTDIR}/${pkgname}-${version}/chatty.png 644 usr/share/pixmaps
|
||
|
|
||
|
vlicense assets/LICENSE
|
||
|
}
|