summaryrefslogtreecommitdiff
path: root/user/yaml-cpp
diff options
context:
space:
mode:
Diffstat (limited to 'user/yaml-cpp')
-rw-r--r--user/yaml-cpp/APKBUILD10
1 files changed, 1 insertions, 9 deletions
diff --git a/user/yaml-cpp/APKBUILD b/user/yaml-cpp/APKBUILD
index 4f7e7bfa9..53f41b87b 100644
--- a/user/yaml-cpp/APKBUILD
+++ b/user/yaml-cpp/APKBUILD
@@ -13,7 +13,6 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/jbeder/yaml-cpp/archive/yaml
builddir="$srcdir/$pkgname-$pkgname-$pkgver"
build() {
- cd "$builddir"
if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
@@ -30,17 +29,10 @@ build() {
}
check() {
- cd "$builddir"
- CTEST_OUTPUT_ON_FAILURE=TRUE ctest
-}
-
-check() {
- cd "$builddir"
- make test
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}