void-packages/srcpkgs/chatty/template
2020-12-11 13:53:02 +01:00

35 lines
1.1 KiB
Bash

# Template file for 'chatty'
pkgname=chatty
version=0.13.1
revision=1
hostmakedepends="gradle"
depends="virtual?java-runtime"
short_desc="Twitch Chat Client for Desktop"
maintainer="Frank Steinborn <steinex@nognu.de>"
license="GPL-3.0-only"
homepage="http://chatty.github.io/"
distfiles="https://github.com/chatty/chatty/archive/v${version}.tar.gz"
checksum=72c82832893b96cb744905fd4a9c7015a8cf3670c53f4e42a9256908caf90c05
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 src/${pkgname}/gui/app_main_64.png 644 usr/share/pixmaps chatty.png
vinstall ${FILESDIR}/chatty.desktop 644 usr/share/applications
}