aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2020-03-02 11:25:05 +0100
committerLeo <thinkabit.ukim@gmail.com>2020-03-03 08:50:05 -0300
commit65868aded40cea35533890d8152dad05579066f6 (patch)
treea4afc9e88bc83dddfe2198c0c4558135c1bc0d2e
parentd58e35ccd8c1b832bdd0610d7463b91b1363ef1c (diff)
downloadaports-65868aded40cea35533890d8152dad05579066f6.tar.bz2
aports-65868aded40cea35533890d8152dad05579066f6.tar.xz
community/kalgebra: move from testing
-rw-r--r--community/kalgebra/APKBUILD (renamed from testing/kalgebra/APKBUILD)7
1 files changed, 4 insertions, 3 deletions
diff --git a/testing/kalgebra/APKBUILD b/community/kalgebra/APKBUILD
index aa04418223..5334adcefb 100644
--- a/testing/kalgebra/APKBUILD
+++ b/community/kalgebra/APKBUILD
@@ -13,19 +13,20 @@ subpackages="$pkgname-doc $pkgname-lang"
options="!check" # No tests
build() {
- cmake \
+ cmake -B "$builddir"/build \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
- make
+ make -C build
}
check() {
+ cd "$builddir"/build
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
- DESTDIR="$pkgdir" make install
+ DESTDIR="$pkgdir" make -C build install
}
sha512sums="2ae771a71ef65456a19275fb1ba31727479f59b95d099a52fc389abb74f8ab27498d01fffead543647e179ea9322b88de97f101eea9118b92cea74754c3c9181 kalgebra-19.12.2.tar.xz"