30 lines
902 B
Bash
30 lines
902 B
Bash
# Template file for 'libqmatrixclient'
|
|
pkgname=libqmatrixclient
|
|
version=0.4.2.1
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DBUILD_SHARED_LIBS=1"
|
|
hostmakedepends="qt5-qmake qt5-host-tools"
|
|
makedepends="qt5-devel"
|
|
short_desc="Qt5 library to write cross-platfrom clients for Matrix"
|
|
maintainer="Karol Kosek <krkkx@protonmail.com>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://matrix.org/docs/projects/sdk/libqmatrixclient.html"
|
|
distfiles="https://github.com/QMatrixClient/libqmatrixclient/archive/v${version}.tar.gz"
|
|
checksum=0efe7050ba8b866b0bf6046a9c57779173cf3d68f546d8f082ce081e8e299bc8
|
|
|
|
libqmatrixclient-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"
|
|
}
|
|
}
|
|
|
|
post_install() {
|
|
# delete example application
|
|
rm -rf ${DESTDIR}/usr/bin
|
|
}
|