diff options
author | Zach van Rijn <me@zv.io> | 2022-08-21 18:06:39 +0000 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2022-10-21 18:34:02 -0500 |
commit | 9f0a9913f3ebd891db498828ad933552eb0fad1c (patch) | |
tree | a1ecae963c23e4a279cab5fb69e8f49f8acece6b | |
parent | 05f3bed671c8b36847400e2e11f86f75ae858a0d (diff) | |
download | packages-9f0a9913f3ebd891db498828ad933552eb0fad1c.tar.gz packages-9f0a9913f3ebd891db498828ad933552eb0fad1c.tar.bz2 packages-9f0a9913f3ebd891db498828ad933552eb0fad1c.tar.xz packages-9f0a9913f3ebd891db498828ad933552eb0fad1c.zip |
user/gleam: simplify packaging, minor cleanup. fixes #805.
-rw-r--r-- | user/gleam/APKBUILD | 5 |
1 files changed, 1 insertions, 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 } |