1 # Maintainer: Orhun Parmaksız <orhun@archlinux.org>
2 # Maintainer: Caleb Maclennan <caleb@alerque.com>
5 _commit='1d768381bd0fb16684e64911ebe4eb7c67f6ba50'
8 pkgdesc="A CLI tool to help keep track of Git repositories"
10 url="https://github.com/nickgerace/gfold"
13 makedepends=('cargo' 'git')
14 source=("$pkgname::git+$url.git#commit=$_commit")
19 cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
24 CFLAGS+=" -ffat-lto-objects"
25 cargo build --release --frozen
35 install -Dm 755 "target/release/$pkgname" -t "$pkgdir/usr/bin"
36 install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname"