27 lines
687 B
Bash
27 lines
687 B
Bash
# Template file for 'olm'
|
|
pkgname=olm
|
|
version=3.1.2
|
|
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=d09f9082cdbaf4d95b0a372affdf6129a6b451913831c5915e799877acab6d49
|
|
|
|
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"
|
|
}
|
|
}
|