Package Details: framework-system 0.4.5-1

Git Clone URL: https://aur.archlinux.org/framework-system.git (read-only, click to copy)
Package Base: framework-system
Description: Tool to interact with the framework system
Upstream URL: https://github.com/FrameworkComputer/framework-system
Licenses: MIT
Submitter: jhenson
Maintainer: jhenson
Last Packager: jhenson
Votes: 6
Popularity: 3.05
First Submitted: 2025-05-07 14:46 (UTC)
Last Updated: 2025-07-02 02:27 (UTC)

Latest Comments

jhenson commented on 2025-07-01 02:21 (UTC)

Thanks @pattop. I've updated the package with your patch.

pattop commented on 2025-06-30 00:58 (UTC) (edited on 2025-06-30 00:58 (UTC) by pattop)

Build fails with:

install: cannot stat 'target/release/framework_tool': No such file or directory

if target-dir has been configured on the build system.

Here's a patch to fix the issue:

diff --git i/PKGBUILD w/PKGBUILD
index cf85e39..2efe635 100644
--- i/PKGBUILD
+++ w/PKGBUILD
@@ -18,6 +18,7 @@ makedepends=(
        "git"
        "cargo"
        "pkg-config"
+       "jq"
 )
 OPTIONS=(!lto)
 source=("${url}/archive/refs/tags/v${pkgver}.tar.gz")
@@ -30,6 +31,7 @@ build() {

 package() {
        cd "${srcdir}/${pkgname}-${pkgver}"
-       install -Dm0755 -t "${pkgdir}/usr/bin/" "target/release/framework_tool"
+       TARGET_DIR="$(cargo metadata --format-version 1 --no-deps | jq -r '.target_directory')"
+       install -Dm0755 -t "${pkgdir}/usr/bin/" "${TARGET_DIR}/release/framework_tool"
        install -Dm0644 -t "${pkgdir}/usr/share/licenses/${pkgname}/" "LICENSE.md"
 }