void-packages/srcpkgs/libQuotient/template
2021-10-02 17:10:46 +02:00

25 lines
831 B
Bash

# Template file for 'libQuotient'
pkgname=libQuotient
version=0.6.9
revision=1
build_style=cmake
configure_args="-DBUILD_SHARED_LIBS=1 -DQuotient_INSTALL_TESTS=0"
hostmakedepends="qt5-qmake qt5-host-tools"
makedepends="qt5-devel qt5-multimedia-devel"
short_desc="Qt5 library to write cross-platform clients for Matrix"
maintainer="Karol Kosek <krkk@krkk.ct8.pl>"
license="LGPL-2.1-or-later"
homepage="https://matrix.org/docs/projects/sdk/quotient"
distfiles="https://github.com/quotient-im/libQuotient/archive/${version}.tar.gz"
checksum=ed474e6c13ac961d0c45794d52ddd7227002eff005894b3d3cc8efefafdf9625
libQuotient-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}