28 lines
809 B
Bash
28 lines
809 B
Bash
# Template file for 'mtxclient'
|
|
pkgname=mtxclient
|
|
version=0.6.1
|
|
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=d0c3d86898ade0a0680f57cb920e11f07901085403ebaaa0b085e0067a78529c
|
|
|
|
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"
|
|
}
|
|
}
|