contrib/chatty/Pkgfile

23 lines
702 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/
# Packager: Danny Rawlins, crux at romster dot me
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: jre
name=chatty
2017-09-22 04:53:59 +02:00
version=0.8.7
2017-05-01 04:49:37 +02:00
release=1
source=(https://github.com/chatty/chatty/releases/download/v$version/Chatty_${version}_hotkey_64bit.zip)
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
}