36 lines
1.1 KiB
Bash
36 lines
1.1 KiB
Bash
# Template file for 'chatty'
|
|
pkgname=chatty
|
|
version=0.26
|
|
revision=1
|
|
hostmakedepends="gradle openjdk8"
|
|
depends="virtual?java-runtime"
|
|
short_desc="Twitch Chat Client for Desktop"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://chatty.github.io/"
|
|
distfiles="https://github.com/chatty/chatty/archive/refs/tags/v${version}.tar.gz"
|
|
checksum=f9b6287a257fa50d757128af116ee29cf4c8d29e96e09616857017b859aa43f5
|
|
|
|
do_build() {
|
|
gradle --no-daemon 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 src/${pkgname}/gui/app_main_64.png 644 usr/share/pixmaps chatty.png
|
|
vinstall ${FILESDIR}/chatty.desktop 644 usr/share/applications
|
|
}
|