28 lines
808 B
Bash
28 lines
808 B
Bash
# Template file for 'mtxclient'
|
|
pkgname=mtxclient
|
|
version=0.5.1
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DBUILD_LIB_TESTS=OFF -DBUILD_LIB_EXAMPLES=OFF"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="boost-devel json-c++ olm-devel openssl-devel"
|
|
short_desc="Client API library for the Matrix protocol"
|
|
maintainer="Lorem <notloremipsum@protonmail.com>"
|
|
license="MIT"
|
|
homepage="https://github.com/Nheko-Reborn/mtxclient"
|
|
distfiles="https://github.com/Nheko-Reborn/mtxclient/archive/v${version}.tar.gz"
|
|
checksum=9478d870296ebe7679c90f563cb798eb3cdd3f9c4578ceea5af75b66f456baaa
|
|
|
|
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"
|
|
}
|
|
}
|