blob: e531530950679cd317e1e8f65fb3dc42035c13c5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/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
}
package() {
install -Dm0755 target/release/onefetch "$PKG_DEST"/usr/bin/onefetch
}
|