aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2019-06-19 13:21:20 +0200
committerLeo <thinkabit.ukim@gmail.com>2019-06-20 08:27:45 -0300
commit60c580b057146daf607141c3f72733d6e4477145 (patch)
tree14494344e690aa890f784f2df6fd5373654e2eac
parentdf816708f6fa5fda67f3cba41dc449a043e2c0f0 (diff)
downloadaports-60c580b057146daf607141c3f72733d6e4477145.tar.bz2
aports-60c580b057146daf607141c3f72733d6e4477145.tar.xz
testing/kmime: new aport
-rw-r--r--testing/kmime/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/kmime/APKBUILD b/testing/kmime/APKBUILD
new file mode 100644
index 0000000000..1e257771b9
--- /dev/null
+++ b/testing/kmime/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=kmime
+pkgver=19.04.2
+pkgrel=0
+pkgdesc="Library for handling mail messages and newsgroup articles"
+arch="all"
+url="https://community.kde.org/KDE_PIM"
+license="LGPL-2.0-or-later"
+depends_dev="qt5-qtbase-dev ki18n-dev kcodecs-dev"
+makedepends="$depends_dev extra-cmake-modules"
+source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"
+subpackages="$pkgname-dev $pkgname-lang"
+
+build() {
+ cmake \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib
+ make
+}
+
+check() {
+ # kmime-headertest and kmime-messagetest are broken
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest -E "kmime-(header|message)test"
+}
+
+package() {
+ DESTDIR="$pkgdir" make install
+}
+sha512sums="043cddd297e31172a80167b872b6dcf675c659ec8613cbef8f41bc84bbf8f499f9b85600be0cd36fc6013ae1facadbf8fe022e107a37699b0f15aaac66b498ba kmime-19.04.2.tar.xz"