void-packages/srcpkgs/mtxclient/template
2019-06-18 08:27:41 +00:00

28 lines
859 B
Bash

# Template file for 'mtxclient'
pkgname=mtxclient
version=0.2.1
revision=1
build_style=cmake
configure_args="-DBUILD_LIB_TESTS=OFF -DBUILD_LIB_EXAMPLES=OFF -DBUILD_SHARED_LIBS=ON"
hostmakedepends="pkg-config"
makedepends="boost-devel json-c++ zlib-devel olm-devel libressl-devel libsodium-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=859217f3ed8fbe5479a6cf77dc15f164c76e593f588990c2acce3fe13c9f845a
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"
}
}