void-packages/srcpkgs/olm/template

28 lines
778 B
Bash

# Template file for 'olm'
pkgname=olm
version=3.2.13
revision=1
build_style=cmake
short_desc="Implementation of the Double Ratchet cryptographic ratchet"
maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
license="Apache-2.0"
homepage="https://gitlab.matrix.org/matrix-org/olm"
changelog="https://gitlab.matrix.org/matrix-org/olm/-/raw/master/CHANGELOG.rst"
distfiles="https://gitlab.matrix.org/matrix-org/olm/-/archive/${version}/olm-${version}.tar.bz2"
checksum=8ac0c5e4a62d5464f0a6f3f35dd41b53d31bc3a188e93e3614d38237e0a32f81
do_check() {
cd build/tests
ctest
}
olm-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}