aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2019-06-21 16:17:11 +0200
committerLeo <thinkabit.ukim@gmail.com>2019-06-21 15:02:27 -0300
commit4554aae0164f387bbbe8369a4ad561eabfce798e (patch)
treee127cb5bd17a079e66f85c8dd454400579189f74 /testing
parente96223c293b47bf645a3d3d90ff18d2f1a8eb1ea (diff)
downloadaports-4554aae0164f387bbbe8369a4ad561eabfce798e.tar.bz2
aports-4554aae0164f387bbbe8369a4ad561eabfce798e.tar.xz
testing/ktnef: new aport
Diffstat (limited to 'testing')
-rw-r--r--testing/ktnef/APKBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/ktnef/APKBUILD b/testing/ktnef/APKBUILD
new file mode 100644
index 0000000000..512d32e14a
--- /dev/null
+++ b/testing/ktnef/APKBUILD
@@ -0,0 +1,30 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=ktnef
+pkgver=19.04.2
+pkgrel=0
+pkgdesc="API for handling TNEF data"
+arch="all"
+url="https://kontact.kde.org/"
+license="LGPL-2.0-or-later"
+depends_dev="qt5-qtbase-dev kcalcore-dev kcalutils-dev kcontacts-dev ki18n-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() {
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+ DESTDIR="$pkgdir" make install
+}
+sha512sums="8e553eb5e775c8e133f61e6f94c8ddd1cae14a81a6d71c2f62d1b80909d39e60b73bb39ee025c86e63d123f28470c634a0cc3c8b3e5a438d5ac1487be2ee1d86 ktnef-19.04.2.tar.xz"