aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2020-04-18 22:00:48 +0200
committerRasmus Thomsen <oss@cogitri.dev>2020-04-24 11:46:41 +0000
commit0f992c6f60ca581a3290dadc74f2c81ecad18ee6 (patch)
tree157bff05d2a129d29243d74679f95e198709d72c
parentb90dd34558e786dd4e155c1b77c079571a4e958d (diff)
downloadaports-0f992c6f60ca581a3290dadc74f2c81ecad18ee6.tar.gz
aports-0f992c6f60ca581a3290dadc74f2c81ecad18ee6.tar.bz2
aports-0f992c6f60ca581a3290dadc74f2c81ecad18ee6.tar.xz
community/ktimetracker: move from testing
-rw-r--r--community/ktimetracker/APKBUILD (renamed from testing/ktimetracker/APKBUILD)16
1 files changed, 4 insertions, 12 deletions
diff --git a/testing/ktimetracker/APKBUILD b/community/ktimetracker/APKBUILD
index 6ba286ca22..16abdaf27a 100644
--- a/testing/ktimetracker/APKBUILD
+++ b/community/ktimetracker/APKBUILD
@@ -12,19 +12,12 @@ checkdepends="xvfb-run"
source="https://download.kde.org/stable/ktimetracker/$pkgver/src/ktimetracker-$pkgver.tar.xz"
subpackages="$pkgname-doc $pkgname-lang"
-prepare() {
- default_prepare
-
- mkdir "$builddir"/build
-}
-
build() {
- cd "$builddir"/build
- cmake "$builddir" \
+ cmake -B build \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
- make
+ cmake --build build
}
check() {
@@ -33,13 +26,12 @@ check() {
*) excluded_tests="" ;;
esac
- cd "$builddir"/build
+ cd build
CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "($excluded_tests)"
}
package() {
- cd "$builddir"/build
- DESTDIR="$pkgdir" make install
+ DESTDIR="$pkgdir" cmake --build build --target install
}
sha512sums="78de8651efd72fa9fd5c7f06992ab8970e1d763c6f30f5eba52ec93bb6a2bb19ae777bc90809ef5198bc3b6a5f9f5ee78e240eadcacd8ce8489bdb28cd62431e ktimetracker-5.0.1.tar.xz"