void-packages/srcpkgs/mtxclient/template
2022-02-26 00:13:42 +00:00

28 lines
809 B
Bash

# Template file for 'mtxclient'
pkgname=mtxclient
version=0.6.2
revision=1
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"
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=97e41340c3f03db8a7625dcd54f6c6a3c8726c7b7226630727fea7d2bb2213bf
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"
}
}