Splux Linux

source-based Linux using SPS

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

51fee3e


extra: add current ripgrep, fish, and neovim

Date
Commit51fee3e89581170bccabf797de0b3593bb039889
GitHubmirror

Parents

Stat

 README.md             |  9 ++++-----
 cli/ripgrep/recipe    | 15 +++++++++++++++
 editors/neovim/recipe | 13 +++++++++++++
 shells/fish/recipe    | 15 +++++++++++++++
 4 files changed, 47 insertions(+), 5 deletions(-)

Diff

diff --git a/README.md b/README.md
index 33c505b..7fcc7f0 100644
--- a/README.md
+++ b/README.md
@@ -10,8 +10,7 @@ Package categories are organizational and are created only when they contain a
 package:
 
 ```text
-audio/  desktop/  devel/  editors/  fonts/  graphics/  libs/
-multimedia/  net/  shells/  utils/  wayland/  xorg/
+cli/  editors/  fonts/  shells/  term/
 ```
 
 Configure the tree after core:
@@ -25,9 +24,9 @@ Then run:
 
 ```sh
 src update
-src search mesa
-src show mesa
-src which mesa
+src search nano
+src show nano
+src which nano
 ```
 
 Git checkouts default to `/usr/src/sps/core` and `/usr/src/sps/extra`. They are
diff --git a/cli/ripgrep/recipe b/cli/ripgrep/recipe
new file mode 100644
index 0000000..f1f7201
--- /dev/null
+++ b/cli/ripgrep/recipe
@@ -0,0 +1,15 @@
+name        ripgrep
+version     15.2.0
+release     1
+description ripgrep: recursive line-oriented search
+
+source      https://github.com/BurntSushi/ripgrep/archive/refs/tags/${version}.tar.gz
+hash        sha256:7605249d3eb0d5f170e3414498e3344e26b1e7a147aec518b57090b80036a562
+
+depend      filesystem
+depend      pcre2
+
+build       CARGO_TARGET_DIR="$WORK/target" cargo build --release --locked --features pcre2
+install     mkdir -p "$PKG/usr/bin"
+install     cp "$WORK/target/release/rg" "$PKG/usr/bin/rg"
+install     chmod 755 "$PKG/usr/bin/rg"
diff --git a/editors/neovim/recipe b/editors/neovim/recipe
new file mode 100644
index 0000000..562c83c
--- /dev/null
+++ b/editors/neovim/recipe
@@ -0,0 +1,13 @@
+name        neovim
+version     0.12.5
+release     1
+description neovim: hyperextensible Vim-based text editor
+
+source      https://github.com/neovim/neovim/archive/refs/tags/v${version}.tar.gz
+hash        sha256:a810c95332317bd0017e1ca07e376a8472c79075cbed00fa3737d190a8a0a45a
+
+depend      filesystem
+depend      ncurses
+
+build       make CMAKE_BUILD_TYPE=Release CMAKE_EXTRA_FLAGS="-DCMAKE_INSTALL_PREFIX=/usr"
+install     make DESTDIR="$PKG" install
diff --git a/shells/fish/recipe b/shells/fish/recipe
new file mode 100644
index 0000000..9701134
--- /dev/null
+++ b/shells/fish/recipe
@@ -0,0 +1,15 @@
+name        fish
+version     4.8.1
+release     1
+description fish: the friendly interactive shell
+
+source      https://github.com/fish-shell/fish-shell/releases/download/${version}/fish-${version}.tar.xz
+hash        sha256:0eb86a851e865e934a7c2091a73d7695225e78f0e00a7bb96d5f877d76c65782
+
+depend      filesystem
+depend      ncurses
+depend      pcre2
+
+configure   unset CARGO_TARGET_DIR; cmake -S . -B build -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
+build       unset CARGO_TARGET_DIR; cmake --build build --parallel "$MAKEJOBS"
+install     unset CARGO_TARGET_DIR; DESTDIR="$PKG" cmake --install build