From d1fc3393cca72e8e432f827f7624e38734fad6dc Mon Sep 17 00:00:00 2001 From: davidovski Date: Thu, 9 Jun 2022 14:35:52 +0100 Subject: moved firmware to separate pacakges --- repo/onefetch/onefetch.xibuild | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 repo/onefetch/onefetch.xibuild (limited to 'repo/onefetch/onefetch.xibuild') 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 +} + -- cgit v1.2.1