aboutsummaryrefslogtreecommitdiffstats
path: root/testing/bmake
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2019-12-21 13:48:06 +0100
committerSören Tempel <soeren+git@soeren-tempel.net>2019-12-21 13:55:28 +0100
commit8aa7aa830b032c699e0829c5ca84b0cc34af51ea (patch)
treedad6f8e49f4229c8c54b9e56450dabd3033182de /testing/bmake
parent508000a974a6c79336ca7f7ce9be113153d879e7 (diff)
downloadaports-8aa7aa830b032c699e0829c5ca84b0cc34af51ea.tar.bz2
aports-8aa7aa830b032c699e0829c5ca84b0cc34af51ea.tar.xz
testing/bmake: remove explicitly cd statements
While at it, also do not use a separate build directory.
Diffstat (limited to 'testing/bmake')
-rw-r--r--testing/bmake/APKBUILD13
1 files changed, 4 insertions, 9 deletions
diff --git a/testing/bmake/APKBUILD b/testing/bmake/APKBUILD
index ee4dd7796c..b7b8c50630 100644
--- a/testing/bmake/APKBUILD
+++ b/testing/bmake/APKBUILD
@@ -13,24 +13,19 @@ source="http://www.crufty.net/ftp/pub/sjg/bmake-$pkgver.tar.gz
builddir="$srcdir/$pkgname"
build() {
- cd "$builddir"
- mkdir -p build
- cd build
- sh ../boot-strap --with-default-sys-path=/usr/share/mk op=build
+ sh ./boot-strap --with-default-sys-path=/usr/share/mk op=build
}
check() {
- cd "$builddir/build"
- sh ../boot-strap op=test
+ sh ./boot-strap op=test
}
package() {
- cd "$builddir/build"
- sh ../boot-strap --prefix=/usr --with-mksrc=/usr/share/mk \
+ sh ./boot-strap --prefix=/usr --with-mksrc=/usr/share/mk \
--install-destdir="$pkgdir" op=install
rm -rf "$pkgdir"/usr/share/man/cat1
- install -Dm644 ../bmake.1 \
+ install -Dm644 bmake.1 \
"$pkgdir"/usr/share/man/man1/bmake.1
}