diff options
author | davidovski <david@davidovski.xyz> | 2022-06-09 14:35:52 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-06-09 14:35:52 +0100 |
commit | d1fc3393cca72e8e432f827f7624e38734fad6dc (patch) | |
tree | 7b971fbfc203ff017ad78852476bfcccee170971 /repo/onefetch/onefetch.xibuild | |
parent | ccc722b7ed330198d82a3cf28ead76d6d107a70a (diff) |
moved firmware to separate pacakges
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 +} + |