aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/h1-cli/APKBUILD9
1 files changed, 1 insertions, 8 deletions
diff --git a/testing/h1-cli/APKBUILD b/testing/h1-cli/APKBUILD
index 90ccc0ecda..4448ebe196 100644
--- a/testing/h1-cli/APKBUILD
+++ b/testing/h1-cli/APKBUILD
@@ -12,20 +12,13 @@ depends="openssh-client"
makedepends="nodejs npm"
subpackages="rbx-cli:rbx"
source="$pkgname-$pkgver.tar.gz::https://github.com/hyperonecom/$pkgname/archive/v$pkgver.tar.gz"
-builddir="$srcdir/$pkgname-$pkgver"
-options="!strip"
+options="!strip !check"
build() {
- cd "$builddir"
npm install
npm run-script build
}
-check() {
- [ "$($builddir/dist/$_pkgname-alpine --version)" == "$pkgver" ]
- [ "$($builddir/dist/rbx-alpine --version)" == "$pkgver" ]
-}
-
package() {
mkdir -p "$pkgdir"/usr/bin
cp "$builddir/dist/$_pkgname-alpine" "$pkgdir"/usr/bin/$_pkgname