void-packages/srcpkgs/olm/template
2021-12-17 05:46:04 -03:00

26 lines
687 B
Bash

# Template file for 'olm'
pkgname=olm
version=3.2.8
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=012e4c358404f273ab2f8502a06a4d80c8df41b17cc8dc1f47d195a71af8dda0
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"
}
}