aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2020-04-18 22:36:50 +0200
committerRasmus Thomsen <oss@cogitri.dev>2020-04-24 11:46:42 +0000
commita2c4c93a866c451715f42b5006b4aa6da72a15bf (patch)
tree91b58946c43e017b4a6936d8e1ba855abb9e719a
parentf72adbbfcc154cbeae25f6496b0857d2e414b4ec (diff)
downloadaports-a2c4c93a866c451715f42b5006b4aa6da72a15bf.tar.gz
aports-a2c4c93a866c451715f42b5006b4aa6da72a15bf.tar.bz2
aports-a2c4c93a866c451715f42b5006b4aa6da72a15bf.tar.xz
community/alkimia: move from testing
-rw-r--r--community/alkimia/APKBUILD (renamed from testing/alkimia/APKBUILD)7
1 files changed, 4 insertions, 3 deletions
diff --git a/testing/alkimia/APKBUILD b/community/alkimia/APKBUILD
index de2ddb2e7e..6459b2c49f 100644
--- a/testing/alkimia/APKBUILD
+++ b/community/alkimia/APKBUILD
@@ -17,19 +17,20 @@ source="https://download.kde.org/stable/alkimia/$pkgver/alkimia-$pkgver.tar.xz"
subpackages="$pkgname-dev $pkgname-lang"
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 xvfb-run ctest -E 'alkonlinequotestest'
}
package() {
- DESTDIR="$pkgdir" make install
+ DESTDIR="$pkgdir" cmake --build build --target install
}
sha512sums="04debd3adeba6380ffe7e9d3949e927dca12ecd7f83dea7b7ba6295b158272c636978c89800757166889e632fed09f3e8b3ce19adc9b91e3369e3b16a5b6cb1e alkimia-8.0.3.tar.xz"