New package: libqmatrixclient-0.4.2.1

This commit is contained in:
Karol Kosek 2019-01-18 21:33:59 +01:00 committed by Helmut Pozimski
parent 4d37ccd664
commit 9003ca968e
3 changed files with 32 additions and 0 deletions

View file

@ -3392,3 +3392,4 @@ libgaminggear.so.0 libgaminggear-0.15.1_1
libgaminggearfx.so.0 libgaminggear-0.15.1_1
libgaminggearwidget.so.0 libgaminggear-0.15.1_1
libopkg.so.1 libopkg-0.4.0_1
libQMatrixClient.so.0.4 libqmatrixclient-0.4.2.1_1

View file

@ -0,0 +1 @@
libqmatrixclient

View file

@ -0,0 +1,30 @@
# 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
}