diff --git a/srcpkgs/Quaternion/template b/srcpkgs/Quaternion/template new file mode 100644 index 0000000000..da0af2953f --- /dev/null +++ b/srcpkgs/Quaternion/template @@ -0,0 +1,23 @@ +# Template file for 'Quaternion' +pkgname=Quaternion +version=0.0.4 +revision=1 +build_style=cmake +hostmakedepends="qt5-qmake qt5-host-tools" +makedepends="qt5-declarative-devel qt5-quickcontrols" +depends="qt5 qt5-declarative qt5-quickcontrols" +short_desc="Qt5-based IM client for the Matrix protocol" +maintainer="Julio Galvan " +license="GPL-3" +homepage="https://github.com/QMatrixClient/Quaternion" +distfiles=" + https://github.com/QMatrixClient/Quaternion/archive/v${version}.tar.gz + https://github.com/QMatrixClient/libqmatrixclient/archive/v0.1.tar.gz" +checksum=" + 8647bd74f24d3225333932a92a461da4fdee10a1a8dd639c38506a20ddb82063 + 922c6bc420671a16ecadeb7fb5f4fb3a42308d30e8741d2997bfc11e1053edcf" + +do_extract() { + tar xf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/v${version}.tar.gz -C ${wrksrc} --strip-components=1 + tar xf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/v0.1.tar.gz -C ${wrksrc}/lib --strip-components=1 +}