30 lines
904 B
Bash
30 lines
904 B
Bash
# Template file for 'mtxclient'
|
|
pkgname=mtxclient
|
|
version=0.8.2
|
|
revision=2
|
|
build_style=cmake
|
|
configure_args="-DBUILD_LIB_TESTS=OFF -DBUILD_LIB_EXAMPLES=OFF"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="json-c++ olm-devel openssl-devel coeurl-devel spdlog"
|
|
short_desc="Client API library for the Matrix protocol"
|
|
maintainer="Lorem <notloremipsum@protonmail.com>"
|
|
license="MIT"
|
|
homepage="https://github.com/Nheko-Reborn/mtxclient"
|
|
changelog="https://raw.githubusercontent.com/Nheko-Reborn/mtxclient/master/CHANGELOG.md"
|
|
distfiles="https://github.com/Nheko-Reborn/mtxclient/archive/v${version}.tar.gz"
|
|
checksum=4caa12ddf954b9492d1ec9b6ca32ef0fc6478555f229db074d43bc5cc29a9c89
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
mtxclient-devel_package() {
|
|
depends="mtxclient-${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/cmake
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|