aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2020-06-12 10:31:36 +0200
committerLeo <thinkabit.ukim@gmail.com>2020-06-12 10:32:12 +0000
commit9b589ce40d8b4bb3a484481ee2117a9d06bfe5a1 (patch)
tree0da55119ebe889418cf181d778c0bfee1e679c7b
parentc784cc715c224b243e05f3e23ca2fb5c198625dd (diff)
downloadaports-9b589ce40d8b4bb3a484481ee2117a9d06bfe5a1.tar.gz
aports-9b589ce40d8b4bb3a484481ee2117a9d06bfe5a1.tar.bz2
aports-9b589ce40d8b4bb3a484481ee2117a9d06bfe5a1.tar.xz
community/olm: upgrade to 3.1.5
-rw-r--r--community/olm/APKBUILD16
1 files changed, 8 insertions, 8 deletions
diff --git a/community/olm/APKBUILD b/community/olm/APKBUILD
index 4beba392e0..f519a13190 100644
--- a/community/olm/APKBUILD
+++ b/community/olm/APKBUILD
@@ -1,30 +1,30 @@
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=olm
-pkgver=3.1.4
-pkgrel=1
+pkgver=3.1.5
+pkgrel=0
pkgdesc="Implementation of the olm and megolm cryptographic ratchets"
arch="all"
url="https://gitlab.matrix.org/matrix-org/olm"
license="Apache-2.0"
makedepends="cmake"
-source="$pkgname-$pkgver.tar.gz::https://gitlab.matrix.org/matrix-org/olm/-/archive/$pkgver/olm-$pkgver.tar.gz"
+source="https://gitlab.matrix.org/matrix-org/olm/-/archive/$pkgver/olm-$pkgver.tar.gz"
subpackages="$pkgname-dev"
build() {
- cmake \
+ cmake -B build \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
- make
+ cmake --build build
}
check() {
- cd "$builddir"/tests
+ cd build/tests
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
- DESTDIR="$pkgdir" make install
+ DESTDIR="$pkgdir" cmake --build build --target install
}
-sha512sums="d4781d37da48e30e259b388d2cd7a4fd126411a5fd563ad66b3ef170274296f9eb32eca0dd72a2c0fcba91a87021d1d55a3d18b8ee0fcf64605b984e4eea4355 olm-3.1.4.tar.gz"
+sha512sums="2adb55cbed27f15db78a5ebd86ed78183a6d093e41b57d18cd8d046ceeb114993cf0b1c4f1a0e363aa9701cea580ec80797251db5f812fe088e3ea107f453563 olm-3.1.5.tar.gz"