diff options
author | Bart Ribbers <bribbers@disroot.org> | 2019-10-22 11:07:24 +0200 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-10-22 08:53:27 -0300 |
commit | df3893e677f96383b5b526c9ea4c82127dd0109e (patch) | |
tree | 7fa75c01acf75681d52c9be5cc5b53e8cab7322a /testing/ktnef | |
parent | c349949ec9ba58f038d0c61bf60eff08526501bb (diff) | |
download | aports-df3893e677f96383b5b526c9ea4c82127dd0109e.tar.bz2 aports-df3893e677f96383b5b526c9ea4c82127dd0109e.tar.xz |
testing/ktnef: rebuild against kcalendarcore
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" |