diff options
Diffstat (limited to 'testing/eventviews')
-rw-r--r-- | testing/eventviews/APKBUILD | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/testing/eventviews/APKBUILD b/testing/eventviews/APKBUILD index 454ba1f876..a30369faed 100644 --- a/testing/eventviews/APKBUILD +++ b/testing/eventviews/APKBUILD @@ -1,22 +1,29 @@ -# Contributor: Bart Ribbers <bribbers@disroot.org> + # Contributor: Bart Ribbers <bribbers@disroot.org> # Maintainer: Bart Ribbers <bribbers@disroot.org> pkgname=eventviews pkgver=19.08.2 -pkgrel=0 +pkgrel=1 pkgdesc="Library for creating events" arch="all !ppc64le !s390x" # Limited by akonadi-calendar -> kmailtransport -> libkgapi -> qt5-qtwebengine url="https://kontact.kde.org/" license="GPL-2.0-or-later" depends_dev="qt5-qtbase-dev qt5-qttools-static akonadi-dev ki18n-dev kcodecs-dev kguiaddons-dev kiconthemes-dev kservice-dev kcompletion-dev kholidays-dev kdiagram-dev - libkdepim-dev kcalutils-dev kcalcore-dev calendarsupport-dev + libkdepim-dev kcalutils-dev kcalendarcore-dev calendarsupport-dev akonadi-calendar-dev kmime-dev" makedepends="$depends_dev extra-cmake-modules" source="https://download.kde.org/stable/applications/$pkgver/src/eventviews-$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 @@ -24,10 +31,12 @@ build() { } check() { + cd "$builddir"/build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { + cd "$builddir"/build DESTDIR="$pkgdir" make install } sha512sums="093bd8acf912226f5963cd74e600b46170d5f7bc78a3f91f197b159e424dc65ab14b7f00cbb5fd97dd5cd8fdcdbae5658f3a6e359e012188a9d5e9c407f75251 eventviews-19.08.2.tar.xz" |