diff --git a/srcpkgs/orion/template b/srcpkgs/orion/template new file mode 100644 index 00000000000..88d7018a519 --- /dev/null +++ b/srcpkgs/orion/template @@ -0,0 +1,23 @@ +#template file for 'orion' +pkgname=orion +version=1.6.1 +revision=1 +build_style=qmake +hostmakedepends="qt5-qmake" +makedepends="qt5-declarative-devel qt5-svg-devel qt5-quickcontrols2-devel qt5-graphicaleffects mpv-devel" +short_desc="Qt-based client for Twitch.tv" +maintainer="Chinmay Pai " +license="GPL-3" +homepage="https://github.com/alamminsalo/orion" +distfiles="${homepage}/archive/v${version}.tar.gz" +checksum=eaa8ace822d3381a1915db82c4203d4ce4e56ec324d4ee18544bd68b00bce749 + +if [ "$CROSS_BUILD" ];then + hostmakedepends+=" qt5-host-tools qt5-declarative-devel qt5-svg-devel qt5-quickcontrols2-devel" +fi + +do_install() { + vbin orion + vinstall distfiles/Orion.desktop 644 usr/share/applications/ + vinstall distfiles/orion.svg 644 usr/share/icons/ +}