From 45bd92deefd42865fb8e0ec6919dd8679e78857a Mon Sep 17 00:00:00 2001 From: Max Howell Date: Wed, 17 Jan 2024 11:20:29 -0500 Subject: [PATCH] +z --- projects/github.com/rupa/z/README.md | 5 +++++ projects/github.com/rupa/z/package.yml | 14 ++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 projects/github.com/rupa/z/README.md create mode 100644 projects/github.com/rupa/z/package.yml diff --git a/projects/github.com/rupa/z/README.md b/projects/github.com/rupa/z/README.md new file mode 100644 index 00000000..fc6f45f8 --- /dev/null +++ b/projects/github.com/rupa/z/README.md @@ -0,0 +1,5 @@ +# Usage + +``` +source "${PKGX_DIR:-$HOME/.pkgx}/github.com/rupa/zv*/z.sh" +``` diff --git a/projects/github.com/rupa/z/package.yml b/projects/github.com/rupa/z/package.yml new file mode 100644 index 00000000..6bc445a5 --- /dev/null +++ b/projects/github.com/rupa/z/package.yml @@ -0,0 +1,14 @@ +distributable: + url: https://github.com/rupa/z/archive/{{version.tag}}.tar.gz + strip-components: 1 + +display-name: z + +versions: + github: rupa/z/tags + +build: + install -D z.sh {{prefix}}/z.sh + +test: + source {{prefix}}/z.sh