summaryrefslogtreecommitdiff
path: root/repo/onefetch/onefetch.xibuild
blob: de747932d32f0dc2b602bf3fddd02141a7f38ec0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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
}