Update to 3.0.1

This commit is contained in:
TBK 2020-04-15 10:22:43 +02:00
parent a2fe4d05e0
commit a33ff5860a
No known key found for this signature in database
GPG Key ID: 6D4FD19CB66C95EA
2 changed files with 8 additions and 16 deletions

View File

@ -1,7 +1,7 @@
pkgbase = libqtolm
pkgdesc = A Qt wrapper for libolm
pkgver = 3.0.0
pkgrel = 2
pkgver = 3.0.1
pkgrel = 1
url = https://gitlab.com/b0/libQtOlm
arch = any
license = GPL-3.0-or-later
@ -10,8 +10,8 @@ pkgbase = libqtolm
depends = libolm
conflicts = libqtolm-git
replaces = libqtolm-git
source = https://gitlab.com/b0/libQtOlm/-/archive/v3.0.0/libqtolm-v3.0.0.tar.gz
b2sums = 27e3bf4ea3c735358d954ac7d48e8762be91867617231ee8b2fee3774e22bb4d9381d030b9444d9a3e85c19c524a3918f9f6b1939dd0b95607d2e9aca85214d5
source = https://gitlab.com/b0/libQtOlm/-/archive/v3.0.1/libqtolm-v3.0.1.tar.gz
b2sums = 9b5279020fa8c8fac21690fb184357614d411db4fd89e8ad83896fe1ee80078a220d229269935fb7ff24f9eddb92e733ad88cb52ac7ae88f2aa27e23dcb1db5b
pkgname = libqtolm

View File

@ -2,8 +2,8 @@
# Contributor: TBK <aur at jjtc dot eu>
pkgname=libqtolm
pkgver=3.0.0
pkgrel=2
pkgver=3.0.1
pkgrel=1
pkgdesc='A Qt wrapper for libolm'
url='https://gitlab.com/b0/libQtOlm'
arch=('any')
@ -15,22 +15,13 @@ makedepends=('cmake')
source=("https://gitlab.com/b0/libQtOlm/-/archive/v$pkgver/libqtolm-v$pkgver.tar.gz")
_builddir="$pkgname-v$pkgver"
prepare() {
cd "$_builddir"
sed -i 's/utils.h/utilities.h/g' CMakeLists.txt libQtOlm.pri main.cpp
cd lib
mv utils.h utilities.h
sed -i 's/utils.h/utilities.h/g' account.cpp groupsession.cpp pk.cpp session.cpp
}
build() {
cd "$_builddir"
cmake -B build \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_SHARED_LIBS=true .
-DBUILD_SHARED_LIBS=True
make -C build
}
@ -41,3 +32,4 @@ package() {
b2sums=('27e3bf4ea3c735358d954ac7d48e8762be91867617231ee8b2fee3774e22bb4d9381d030b9444d9a3e85c19c524a3918f9f6b1939dd0b95607d2e9aca85214d5')
b2sums=('27e3bf4ea3c735358d954ac7d48e8762be91867617231ee8b2fee3774e22bb4d9381d030b9444d9a3e85c19c524a3918f9f6b1939dd0b95607d2e9aca85214d5')
b2sums=('9b5279020fa8c8fac21690fb184357614d411db4fd89e8ad83896fe1ee80078a220d229269935fb7ff24f9eddb92e733ad88cb52ac7ae88f2aa27e23dcb1db5b')