From 9f0a9913f3ebd891db498828ad933552eb0fad1c Mon Sep 17 00:00:00 2001 From: Zach van Rijn Date: Sun, 21 Aug 2022 18:06:39 +0000 Subject: user/gleam: simplify packaging, minor cleanup. fixes #805. --- user/gleam/APKBUILD | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/user/gleam/APKBUILD b/user/gleam/APKBUILD index a960e9077..2e5b8f66d 100644 --- a/user/gleam/APKBUILD +++ b/user/gleam/APKBUILD @@ -298,7 +298,6 @@ prepare() { build() { export CARGO_HOME="$srcdir/cargo-home" cargo build --release -j $JOBS - export PATH="$PATH:$builddir/gleam/target/release" } check() { @@ -308,9 +307,7 @@ check() { } package() { - export CARGO_HOME="$srcdir/cargo-home" - cargo install --path . --root="$pkgdir/usr" - rm "$pkgdir/usr/.crates.toml" + install -Dm755 target/release/gleam -t "$pkgdir"/usr/bin/ #805 } -- cgit v1.2.3-70-g09d2