Splux Linux

source-based Linux using SPS

sps-extra · log · files · refs · tags · releases · people · languages · GitHub · commit

0892c8a


extra: add GitHub CLI and extra QoL tools

Date
Commit0892c8a2dd726408d708e00b390ff5b4ad164eb5
GitHubmirror

Parents

Stat

 cli/direnv/recipe     | 15 +++++++++++++++
 cli/github-cli/recipe | 15 +++++++++++++++
 cli/just/recipe       | 15 +++++++++++++++
 cli/procs/recipe      | 15 +++++++++++++++
 cli/qol-cli/recipe    |  7 ++++++-
 cli/xh/recipe         | 15 +++++++++++++++
 6 files changed, 81 insertions(+), 1 deletion(-)

Diff

diff --git a/cli/direnv/recipe b/cli/direnv/recipe
new file mode 100644
index 0000000..bffa852
--- /dev/null
+++ b/cli/direnv/recipe
@@ -0,0 +1,15 @@
+name        direnv
+version     2.37.1
+release     1
+description direnv: directory-based environment
+
+source      https://github.com/direnv/direnv/archive/refs/tags/v2.37.1.tar.gz
+hash        sha256:4142fbb661f3218913fac08d327c415e87b3e66bd0953185294ff8f3228ead24
+
+depend      filesystem
+builddep    go
+
+build       GOPROXY=https://proxy.golang.org,direct CGO_ENABLED=0 go build -trimpath -ldflags "-s -w" -o direnv .
+install     mkdir -p "$PKG/usr/bin"
+install     cp direnv "$PKG/usr/bin/direnv"
+install     chmod 755 "$PKG/usr/bin/direnv"
diff --git a/cli/github-cli/recipe b/cli/github-cli/recipe
new file mode 100644
index 0000000..5408849
--- /dev/null
+++ b/cli/github-cli/recipe
@@ -0,0 +1,15 @@
+name        github-cli
+version     2.98.0
+release     1
+description github-cli: GitHub command line
+
+source      https://github.com/cli/cli/archive/refs/tags/v2.98.0.tar.gz
+hash        sha256:abada9e8b550547ac93f99250f3ad4d90ad623fa245cb54cb058f78030a6a5f6
+
+depend      filesystem
+builddep    go
+
+build       GOPROXY=https://proxy.golang.org,direct CGO_ENABLED=0 go build -trimpath -ldflags "-s -w -X github.com/cli/cli/v2/internal/build.Version=${version}" -o gh ./cmd/gh
+install     mkdir -p "$PKG/usr/bin"
+install     cp gh "$PKG/usr/bin/gh"
+install     chmod 755 "$PKG/usr/bin/gh"
diff --git a/cli/just/recipe b/cli/just/recipe
new file mode 100644
index 0000000..f9748ba
--- /dev/null
+++ b/cli/just/recipe
@@ -0,0 +1,15 @@
+name        just
+version     1.58.0
+release     1
+description just: command runner
+
+source      https://github.com/casey/just/archive/refs/tags/1.58.0.tar.gz
+hash        sha256:c8a36e6e9397f2fdfcb0cc246fcdb790b52a784f3c8cabc0d8baeb031852a148
+
+depend      filesystem
+builddep    rust
+
+build       CARGO_TARGET_DIR="$WORK/target" cargo build --release --locked
+install     mkdir -p "$PKG/usr/bin"
+install     cp "$WORK/target/release/just" "$PKG/usr/bin/just"
+install     chmod 755 "$PKG/usr/bin/just"
diff --git a/cli/procs/recipe b/cli/procs/recipe
new file mode 100644
index 0000000..1799d19
--- /dev/null
+++ b/cli/procs/recipe
@@ -0,0 +1,15 @@
+name        procs
+version     0.14.12
+release     1
+description procs: modern ps
+
+source      https://github.com/dalance/procs/archive/refs/tags/v0.14.12.tar.gz
+hash        sha256:f2fab583fe98a9ae9505c5eecf4f3d9d4ad9bcb5d478a8222d52c87aa1ac602e
+
+depend      filesystem
+builddep    rust
+
+build       CARGO_TARGET_DIR="$WORK/target" cargo build --release --locked
+install     mkdir -p "$PKG/usr/bin"
+install     cp "$WORK/target/release/procs" "$PKG/usr/bin/procs"
+install     chmod 755 "$PKG/usr/bin/procs"
diff --git a/cli/qol-cli/recipe b/cli/qol-cli/recipe
index f10feed..115e81b 100644
--- a/cli/qol-cli/recipe
+++ b/cli/qol-cli/recipe
@@ -1,6 +1,6 @@
 name        qol-cli
 version     1.0
-release     1
+release     2
 arch        any
 description qol-cli: quality-of-life command line tools
 
@@ -28,6 +28,11 @@ depend      tree
 depend      starship
 depend      sd
 depend      yq
+depend      github-cli
+depend      xh
+depend      direnv
+depend      just
+depend      procs
 
 install     mkdir -p "$PKG/usr/share/sps/sets"
 install     printf '%s\n' "qol-cli" >"$PKG/usr/share/sps/sets/qol-cli"
diff --git a/cli/xh/recipe b/cli/xh/recipe
new file mode 100644
index 0000000..052c78f
--- /dev/null
+++ b/cli/xh/recipe
@@ -0,0 +1,15 @@
+name        xh
+version     0.26.2
+release     1
+description xh: friendly HTTP client
+
+source      https://github.com/ducaale/xh/archive/refs/tags/v0.26.2.tar.gz
+hash        sha256:61a88a5b3beac225b75a11d6ed32659af78db7ff29c825def0ab7f4a2906cbd7
+
+depend      filesystem
+builddep    rust
+
+build       CARGO_TARGET_DIR="$WORK/target" cargo build --release --locked
+install     mkdir -p "$PKG/usr/bin"
+install     cp "$WORK/target/release/xh" "$PKG/usr/bin/xh"
+install     chmod 755 "$PKG/usr/bin/xh"