aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2021-03-14 23:16:06 +0100
committerBart Ribbers <bribbers@disroot.org>2021-03-15 20:23:52 +0000
commit273ffed8eb54c6824d7c2487303d144effa70545 (patch)
tree0f9988b7c5514ee0c17dfa86ec7d16cdc262818c
parent5924f5c1a54ad2558bf1b9f954afb83d811ad0b5 (diff)
downloadaports-273ffed8eb54c6824d7c2487303d144effa70545.tar.gz
aports-273ffed8eb54c6824d7c2487303d144effa70545.tar.bz2
aports-273ffed8eb54c6824d7c2487303d144effa70545.tar.xz
community/kimap2: upgrade to 0.4.0
-rw-r--r--community/kimap2/APKBUILD23
1 files changed, 16 insertions, 7 deletions
diff --git a/community/kimap2/APKBUILD b/community/kimap2/APKBUILD
index d5c1f25611..155fd65ea1 100644
--- a/community/kimap2/APKBUILD
+++ b/community/kimap2/APKBUILD
@@ -1,16 +1,25 @@
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kimap2
-pkgver=0.3.0
+pkgver=0.4.0
pkgrel=0
pkgdesc="Next-generation IMAP library"
arch="all !armhf" # qtdeclarative
url="https://community.kde.org/KDE_PIM"
license="LGPL-2.0-or-later AND GPL-2.0-or-later"
-depends_dev="qt5-qtbase-dev kcoreaddons-dev kcodecs-dev kmime-dev cyrus-sasl-dev"
-makedepends="$depends_dev extra-cmake-modules"
-source="https://download.kde.org/unstable/kimap2/$pkgver/src/kimap2-$pkgver.tar.xz"
+depends_dev="
+ cyrus-sasl-dev
+ kcodecs-dev
+ kcoreaddons-dev
+ kmime-dev
+ qt5-qtbase-dev
+ "
+makedepends="$depends_dev
+ extra-cmake-modules
+ "
+source="https://invent.kde.org/pim/kimap2/-/archive/v$pkgver/kimap2-v$pkgver.tar.gz"
subpackages="$pkgname-dev"
+builddir="$srcdir/$pkgname-v$pkgver"
build() {
cmake -B build \
@@ -23,15 +32,15 @@ build() {
check() {
cd build
# loginjobtest is broken https://invent.kde.org/pim/kimap2/-/issues/1
- CTEST_OUTPUT_ON_FAILURE=TRUE ctest -E "loginjobtest"
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
- DESTDIR="$pkgdir" cmake --build build --target install
+ DESTDIR="$pkgdir" cmake --install build
# Remove installed test files
rm -r \
"$pkgdir"/usr/lib/libkimap2test.a \
"$pkgdir"/usr/include/kimap2test
}
-sha512sums="a351fbd8a2c532a963d488c64fc497d05be3521fb2ddf2d942a9c2ebc6a76068f509c283c6335dee03c9ff1a6df294fa69b2033874d33dc6a860b70e1d4e973a kimap2-0.3.0.tar.xz"
+sha512sums="055f9335d2de00deb02b7e10ee9c5fbbb2bd6591319281db168767852fb16806fee4f44503c36379ea358184aed344f35d6404a39af1aca8b9dc9bc584dea07c kimap2-v0.4.0.tar.gz"