aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2020-04-18 21:45:46 +0200
committerRasmus Thomsen <oss@cogitri.dev>2020-04-24 11:46:41 +0000
commita5a5d0fd7ecfbf45e0402e79f8f40c70297dbf7d (patch)
treea7185a355b60d37abd9582f1f3a7f01911c6ba9d
parentf327893e914e847093eb51ecf7f21bb821989046 (diff)
downloadaports-a5a5d0fd7ecfbf45e0402e79f8f40c70297dbf7d.tar.gz
aports-a5a5d0fd7ecfbf45e0402e79f8f40c70297dbf7d.tar.bz2
aports-a5a5d0fd7ecfbf45e0402e79f8f40c70297dbf7d.tar.xz
community/kpmcore: move from testing
-rw-r--r--community/kpmcore/APKBUILD (renamed from testing/kpmcore/APKBUILD)7
1 files changed, 4 insertions, 3 deletions
diff --git a/testing/kpmcore/APKBUILD b/community/kpmcore/APKBUILD
index 947a6df001..3a4a4ecab7 100644
--- a/testing/kpmcore/APKBUILD
+++ b/community/kpmcore/APKBUILD
@@ -14,19 +14,20 @@ subpackages="$pkgname-dev $pkgname-lang"
options="!check" # Requires running dbus server
build() {
- cmake \
+ cmake -B build \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
- make
+ cmake --build build
}
check() {
+ cd build
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
- DESTDIR="$pkgdir" make install
+ DESTDIR="$pkgdir" cmake --build build --target install
}
sha512sums="c45b31a41c62a68aee991be0f7954f4bd2136660578cc60f7fa6f05e56716458421e16cd314b3b9a14b56fdc9377db511c1645e5c41f0446d86a8ac5bb66c273 kpmcore-4.1.0.tar.xz"