aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2020-06-17 15:23:45 +0200
committerLeo <thinkabit.ukim@gmail.com>2020-06-17 13:46:58 +0000
commit23d9a74501968a393bbbfa167f549295edfc9e92 (patch)
tree481e03b2daf48eb164477bf4aa7b146f08825f5c
parent000a08f6ff32d31791e7ac959201d0fb7381a788 (diff)
downloadaports-23d9a74501968a393bbbfa167f549295edfc9e92.tar.gz
aports-23d9a74501968a393bbbfa167f549295edfc9e92.tar.bz2
aports-23d9a74501968a393bbbfa167f549295edfc9e92.tar.xz
testing/mtxclient: upgrade to 0.3.1
-rw-r--r--testing/mtxclient/APKBUILD17
1 files changed, 9 insertions, 8 deletions
diff --git a/testing/mtxclient/APKBUILD b/testing/mtxclient/APKBUILD
index c27fbe95cf..e19bdebb7a 100644
--- a/testing/mtxclient/APKBUILD
+++ b/testing/mtxclient/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=mtxclient
-pkgver=0.3.0
+pkgver=0.3.1
pkgrel=0
pkgdesc="Client API library for Matrix, built on top of Boost.Asio"
url="https://github.com/nheko-reborn/mtxclient"
@@ -10,24 +10,25 @@ license="MIT"
depends_dev="nlohmann-json openssl-dev zlib-dev olm-dev libsodium-dev boost-dev"
makedepends="$depends_dev cmake gtest-dev"
subpackages="$pkgname-dev"
-source="$pkgname-$pkgver.tar.gz::https://github.com/nheko-reborn/mtxclient/archive/v$pkgver.tar.gz"
+source="https://github.com/nheko-reborn/mtxclient/archive/v$pkgver/mtxclient-v$pkgver.tar.gz"
options="!check" # Requires running Synapse instance
build() {
- cmake \
+ cmake -B build \
+ -DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
- -DBUILD_LIB_EXAMPLES=OFF \
- -DCMAKE_BUILD_TYPE=None
- make
+ -DBUILD_LIB_EXAMPLES=OFF
+ cmake --build build
}
check() {
+ cd build
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
- DESTDIR="$pkgdir" make install
+ DESTDIR="$pkgdir" cmake --build build --target install
}
-sha512sums="113eb2c1042e0aeea6607fae0b7fd0ff1655d6b902fa11a3492561c53240901e641f53d413810e932ac210e519026016c5fac38bda1592336c95b2d79781557e mtxclient-0.3.0.tar.gz"
+sha512sums="ed4991b0a611be80cef42dec5e4b747787dae6aeaf46dc1cc395b06233efc9a5b1b57b1809eb9dacd7893b4de19f43996bb6d4556fc67697013248d79528a567 mtxclient-v0.3.1.tar.gz"