contrib/chatty/Pkgfile

30 lines
826 B
Plaintext
Raw Normal View History

2017-05-01 04:49:37 +02:00
# Description: A Twitch chat client for everyone who wants to try something new and different from the webchat, but doesn't want the complexity of an IRC client or miss out on the Twitch specific features.
# URL: http://chatty.github.io/
2018-02-21 12:37:21 +01:00
# Maintainer: Danny Rawlins, crux at romster dot me
2022-05-01 10:29:15 +02:00
# Depends on: openjdk17
2017-05-01 04:49:37 +02:00
name=chatty
2023-05-27 02:45:09 +02:00
version=0.24.1
2020-05-23 09:07:32 +02:00
release=1
2020-10-19 13:20:19 +02:00
source=(https://github.com/chatty/chatty/releases/download/v$version/Chatty_$version.zip
2020-03-24 08:35:35 +01:00
chatty.desktop)
2017-05-01 04:49:37 +02:00
build() {
install -d $PKG/usr/{bin,lib/$name}
cp -a . $PKG/usr/lib/$name
cat <<- EOF > $PKG/usr/bin/$name
#!/bin/sh
java -jar /usr/lib/$name/Chatty.jar "\$@"
EOF
chmod 0775 $PKG/usr/bin/$name
2017-12-29 09:44:42 +01:00
2020-03-24 08:35:35 +01:00
install -Dm644 $name.desktop \
$PKG/usr/share/applications/$name.desktop
rm -f $PKG/usr/lib/chatty/chatty.desktop
2019-07-20 15:23:27 +02:00
rm $PKG/usr/lib/chatty/{LICENSE,readme.txt}
2017-05-01 04:49:37 +02:00
}