void-packages/srcpkgs/Quaternion/template
2017-12-18 11:24:57 +01:00

23 lines
922 B
Bash

# 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-quickcontrols"
short_desc="Qt5-based IM client for the Matrix protocol"
maintainer="Julio Galvan <juliogalvan@protonmail.com>"
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
}