diff options
Diffstat (limited to 'testing/ktnef')
-rw-r--r-- | testing/ktnef/APKBUILD | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/testing/ktnef/APKBUILD b/testing/ktnef/APKBUILD index 20e2d428e9..2852fe117a 100644 --- a/testing/ktnef/APKBUILD +++ b/testing/ktnef/APKBUILD @@ -2,18 +2,25 @@ # Maintainer: Bart Ribbers <bribbers@disroot.org> pkgname=ktnef pkgver=19.08.2 -pkgrel=0 +pkgrel=1 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" +depends_dev="qt5-qtbase-dev kcalendarcore-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" +source="https://download.kde.org/stable/applications/$pkgver/src/ktnef-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-lang" +prepare() { + default_prepare + + mkdir "$builddir"/build +} + build() { - cmake \ + cd "$builddir"/build + cmake "$builddir" \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib @@ -21,10 +28,12 @@ build() { } check() { + cd "$builddir"/build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { + cd "$builddir"/build DESTDIR="$pkgdir" make install } sha512sums="14bcf47eebb748399d67c6989e512ecce0878cf4ad443a80d7749b91e952845460ec9755d576becc96b767096cf58de8d82dda39305e5320534dd4ac67d305c7 ktnef-19.08.2.tar.xz" |