Caleb Maclennan pushed to branch main at Arch Linux / Packaging / Packages /
gfold
Commits:
8274c807 by Caleb Maclennan at 2024-03-17T15:52:57+03:00
upgpkg: 4.4.1-2: Use VCS source checksumming to eliminate need for pinned
commits
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,14 +1,16 @@
pkgbase = gfold
pkgdesc = A CLI tool to help keep track of Git repositories
pkgver = 4.4.1
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/nickgerace/gfold
arch = x86_64
- license = Apache
+ license = Apache-2.0
makedepends = cargo
makedepends = git
+ depends = gcc-libs
+ depends = glibc
depends = libgit2
- source =
gfold-4.4.1::git+https://github.com/nickgerace/gfold.git#commit=f1c0887e52cba5c464dd1de0bff14c4ae4f5287f
- sha512sums = SKIP
+ source = git+https://github.com/nickgerace/gfold.git#tag=4.4.1
+ sha256sums =
e5f2af274e94af48dc72d4b4a2f9f8042c75d53ecb5696ac99838cf405e8573c
pkgname = gfold
=====================================
PKGBUILD
=====================================
@@ -2,36 +2,35 @@
# Maintainer: Caleb Maclennan <[email protected]>
pkgname=gfold
-_commit=f1c0887e52cba5c464dd1de0bff14c4ae4f5287f
pkgver=4.4.1
-pkgrel=1
+pkgrel=2
pkgdesc="A CLI tool to help keep track of Git repositories"
arch=('x86_64')
url="https://github.com/nickgerace/gfold"
-license=('Apache')
-depends=('libgit2')
+license=('Apache-2.0')
+depends=('gcc-libs' 'glibc' 'libgit2')
makedepends=('cargo' 'git')
-source=("$pkgname-$pkgver::git+$url.git#commit=$_commit")
-sha512sums=('SKIP')
+source=("git+$url.git#tag=$pkgver")
+sha256sums=('e5f2af274e94af48dc72d4b4a2f9f8042c75d53ecb5696ac99838cf405e8573c')
prepare() {
- cd "$pkgname-$pkgver"
+ cd "$pkgname"
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
}
build() {
- cd "$pkgname-$pkgver"
+ cd "$pkgname"
CFLAGS+=" -ffat-lto-objects"
cargo build --release --frozen
}
check() {
- cd "$pkgname-$pkgver"
+ cd "$pkgname"
cargo test --frozen
}
package() {
- cd "$pkgname-$pkgver"
+ cd "$pkgname"
install -Dm 755 "target/release/$pkgname" -t "$pkgdir/usr/bin"
install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
}
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/gfold/-/commit/8274c807550d7f30b3f70bb5a4f510b6adf86109
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/gfold/-/commit/8274c807550d7f30b3f70bb5a4f510b6adf86109
You're receiving this email because of your account on gitlab.archlinux.org.