summaryrefslogtreecommitdiff
path: root/chatty/Pkgfile
blob: 66fccb009d2846a9eca94bd00e9d361a33713c19 (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 # Packager: Danny Rawlins, crux at romster dot me
    4 # Depends on: jre
    5 
    6 name=chatty
    7 version=0.9
    8 release=1
    9 source=(https://github.com/chatty/chatty/releases/download/v$version/Chatty_${version}_hotkey_64bit.zip)
   10 
   11 build() {
   12 	install -d $PKG/usr/{bin,lib/$name}
   13 	cp -a . $PKG/usr/lib/$name
   14 
   15 cat <<- EOF > $PKG/usr/bin/$name
   16 	#!/bin/sh
   17 	java -jar /usr/lib/$name/Chatty.jar "\$@"
   18 EOF
   19 
   20 	chmod 0775 $PKG/usr/bin/$name
   21 
   22 	rm -r $PKG/usr/lib/chatty/LICENSE
   23 }

Generated by cgit