Package Details: sigi 3.7.1-2

Git Clone URL: https://aur.archlinux.org/sigi.git (read-only, click to copy)
Package Base: sigi
Description: Organization CLI for people who hate organization
Upstream URL: https://github.com/sigi-cli/sigi
Keywords: organization planning to-do todo
Licenses: GPL-2.0-only
Submitter: booniepepper
Maintainer: booniepepper
Last Packager: booniepepper
Votes: 2
Popularity: 0.38
First Submitted: 2022-02-10 06:46 (UTC)
Last Updated: 2025-01-23 00:26 (UTC)

Dependencies (1)

Required by (0)

Sources (1)

Latest Comments

booniepepper commented on 2025-01-21 18:28 (UTC)

Thanks @adamperkowski!

adamperkowski commented on 2025-01-16 18:57 (UTC) (edited on 2025-01-16 19:08 (UTC) by adamperkowski)

Hey. I get this error:

==> ERROR: A failure occurred in package().
    Aborting...
error: failed to build 'sigi-3.7.1-1': 
error: packages failed to build: sigi-3.7.1-1

with a custom target directory set in my Cargo configuration.

Please set the CARGO_TARGET_DIR variable to ensure reproducibility.

diff --git a/PKGBUILD b/PKGBUILD
index 4b4b6e9..bdefd70 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,12 +11,16 @@ source=("$pkgname-$pkgver.tar.gz::https://crates.io/api/v1/crates/sigi/$pkgver/d
 sha256sums=('9fb629fd2e4644a8e4f173d73c45efad005afe23dd0dbfb0d51dec2f539a28e4')

 build() {
+    export CARGO_TARGET_DIR=target
+
    cd "$pkgname-$pkgver"

    cargo build --release --locked
 }

 check() {
+    export CARGO_TARGET_DIR=target
+
    cd "$pkgname-$pkgver"

    # Tests are skipped until https;//github.com/hiljusti/sigi/issues/19

Also, the keywords should be space-separated.