void-packages/srcpkgs/olm/template
Jan Christian Grünhage f57f162aae olm: update to 3.2.3.
2021-05-24 18:38:42 -03:00

26 lines
687 B
Bash

# Template file for 'olm'
pkgname=olm
version=3.2.3
revision=1
build_style=cmake
short_desc="Implementation of the Double Ratchet cryptographic ratchet"
maintainer="Adam Beckmeyer <adam_gpg@thebeckmeyers.xyz>"
license="Apache-2.0"
homepage="https://gitlab.matrix.org/matrix-org/olm"
distfiles="https://gitlab.matrix.org/matrix-org/olm/-/archive/${version}/olm-${version}.tar.bz2"
checksum=f61022cb6eb95804464d1abb3408b8cf15299994529c005b9bc93110a91ae2ab
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"
}
}