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 <jacob@tea.xyz>
This commit is contained in:
Andrew 2023-06-12 20:30:36 +03:00 committed by GitHub
parent fc14ba4e7f
commit e8666a6212
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)