diff options
Diffstat (limited to 'repo/onefetch/onefetch.xibuild')
-rw-r--r-- | repo/onefetch/onefetch.xibuild | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/repo/onefetch/onefetch.xibuild b/repo/onefetch/onefetch.xibuild new file mode 100644 index 0000000..de74793 --- /dev/null +++ b/repo/onefetch/onefetch.xibuild @@ -0,0 +1,22 @@ +#!/bin/sh + +NAME="onefetch" +DESC="Git repository summary on your terminal" + +MAKEDEPS="cargo libgit zlib" + +PKG_VER=2.12.0 +SOURCE="https://crates.io/api/v1/crates/onefetch/$PKG_VER/download" + +build() { + cargo build --release --locked +} + +check() { + cargo test --release --locked +} + +package() { + install -Dm0755 target/release/onefetch "$PKG_DEST"/usr/bin/onefetch +} + |