blob: 14e29feb923be9cbbe9cf2a5d18eebeb1d516e79 (
plain)
1 # 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.
2 # URL: http://chatty.github.io/
3 # Maintainer: Danny Rawlins, crux at romster dot me
4 # Depends on: openjdk17
5
6 name=chatty
7 version=0.22
8 release=1
9 source=(https://github.com/chatty/chatty/releases/download/v$version/Chatty_$version.zip
10 chatty.desktop)
11
12 build() {
13 install -d $PKG/usr/{bin,lib/$name}
14 cp -a . $PKG/usr/lib/$name
15
16 cat <<- EOF > $PKG/usr/bin/$name
17 #!/bin/sh
18 java -jar /usr/lib/$name/Chatty.jar "\$@"
19 EOF
20
21 chmod 0775 $PKG/usr/bin/$name
22
23 install -Dm644 $name.desktop \
24 $PKG/usr/share/applications/$name.desktop
25
26 rm -f $PKG/usr/lib/chatty/chatty.desktop
27
28 rm $PKG/usr/lib/chatty/{LICENSE,readme.txt}
29 }
|