diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -2,13 +2,13 @@ # https://github.com/orhun/pkgbuilds pkgname=gfold-git -pkgver=1.4.1.r0.g6c3a22d +pkgver=2.0.1.r0.g176dd24 pkgrel=1 pkgdesc="CLI tool to help keep track of Git repositories (git)" arch=('x86_64') url="https://github.com/nickgerace/gfold" license=('Apache') -depends=('zlib' 'gcc-libs') +depends=('gcc-libs') makedepends=('rust' 'git') conflicts=("${pkgname%-git}") provides=("${pkgname%-git}") @@ -20,14 +20,19 @@ pkgver() { git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } +prepare() { + cd "${pkgname%-git}" + cargo fetch --locked +} + build() { cd "${pkgname%-git}" - cargo build --release --locked + cargo build --release --frozen } check() { cd "${pkgname%-git}" - cargo test --release --locked + cargo test --frozen } package() { |