28 lines
778 B
Bash
28 lines
778 B
Bash
# Template file for 'olm'
|
|
pkgname=olm
|
|
version=3.2.15
|
|
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=543f14f58a5ff7187f62f28afedfeba246fd0f28fccdad259dee82215b91298d
|
|
|
|
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"
|
|
}
|
|
}
|