diff options
Diffstat (limited to 'testing/ktnef')
-rw-r--r-- | testing/ktnef/APKBUILD | 30 |
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" |