void-packages/srcpkgs/olm/template

28 lines
778 B
Bash

# Template file for 'olm'
pkgname=olm
version=3.2.14
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=099d93ef93cc9d6efb3dd0ed5eb5f675b550579d6ccff01abaeca18f8a5f7e77
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"
}
}