From e8666a62121bd723ac5d3e6b498977662ae3754f Mon Sep 17 00:00:00 2001 From: Andrew <51118083+ArionThinker@users.noreply.github.com> Date: Mon, 12 Jun 2023 20:30:36 +0300 Subject: [PATCH] github.com/dylanaraps/neofetch (#2154) * new file: projects/github.com/dylanaraps/neofetch/package.yml * clean * neofetch --version always exit "1" * change --version to -v * create variable NEOFETCH_VERSION * simpler test * better simpler test --------- Co-authored-by: Jacob Heider --- .../dylanaraps/neofetch/package.yml | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 projects/github.com/dylanaraps/neofetch/package.yml diff --git a/projects/github.com/dylanaraps/neofetch/package.yml b/projects/github.com/dylanaraps/neofetch/package.yml new file mode 100644 index 00000000..6dc36a01 --- /dev/null +++ b/projects/github.com/dylanaraps/neofetch/package.yml @@ -0,0 +1,26 @@ +distributable: + url: https://github.com/dylanaraps/neofetch/archive/{{ version }}.tar.gz + strip-components: 1 + +versions: + github: dylanaraps/neofetch + +dependencies: + darwin: + github.com/jhford/screenresolution: '*' + +build: + dependencies: + tea.xyz/gx/cc: c99 + tea.xyz/gx/make: '*' + script: + make --jobs {{ hw.concurrency }} install + env: + ARGS: + - PREFIX="{{prefix}}" + +provides: + - bin/neofetch + +test: + neofetch | grep $(uname -m)