Caleb Maclennan pushed to branch main at Arch Linux / Packaging / Packages / git-cliff
Commits: 778b770a by Caleb Maclennan at 2024-05-03T12:02:05+03:00 upgpkg: 2.2.1-3: Move .so deps where they won't find the wrong architecture - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,16 +1,23 @@ pkgbase = git-cliff pkgdesc = A highly customizable changelog generator pkgver = 2.2.1 - pkgrel = 2 + pkgrel = 3 url = https://github.com/orhun/git-cliff arch = x86_64 license = MIT license = Apache-2.0 makedepends = cargo depends = gcc-libs + depends = glibc depends = zlib - depends = libgit2.so + depends = libgit2 source = git-cliff-2.2.1.tar.gz::https://github.com/orhun/git-cliff/archive/v2.2.1.tar.gz sha512sums = 3bdfcb735e055b0499352618c869b4316519feefafde525fdeab579a53559ec69a939fcc04059b20ec11b81cb64a88bffbd1dd6730865ca1b1105d6476187eb4 pkgname = git-cliff + depends = gcc-libs + depends = glibc + depends = zlib + depends = libgit2 + depends = libgit2.so + depends = libz.so ===================================== PKGBUILD ===================================== @@ -3,26 +3,26 @@ pkgname=git-cliff pkgver=2.2.1 -pkgrel=2 +pkgrel=3 pkgdesc="A highly customizable changelog generator" arch=('x86_64') url="https://github.com/orhun/git-cliff" license=('MIT' 'Apache-2.0') -depends=('gcc-libs' 'zlib' 'libgit2.so') +depends=('gcc-libs' 'glibc' 'zlib' 'libgit2') makedepends=('cargo') source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz") sha512sums=('3bdfcb735e055b0499352618c869b4316519feefafde525fdeab579a53559ec69a939fcc04059b20ec11b81cb64a88bffbd1dd6730865ca1b1105d6476187eb4') prepare() { cd "$pkgname-$pkgver" - mkdir completions/ - mkdir man/ + mkdir -p completions/ + mkdir -p man/ cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')" } build() { cd "$pkgname-$pkgver" - CFLAGS+=" -ffat-lto-objects" + CFLAGS+=' -ffat-lto-objects' cargo build --release --frozen --no-default-features --features github OUT_DIR=completions/ "./target/release/$pkgname-completions" OUT_DIR=man/ "./target/release/$pkgname-mangen" @@ -34,6 +34,7 @@ check() { } package() { + depends+=(libgit2.so libz.so) cd "$pkgname-$pkgver" 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/git-cliff/-/commit/778b770a3fea2e74deceb8e2bca7ee90408fc4dc -- This project does not include diff previews in email notifications. View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/git-cliff/-/commit/778b770a3fea2e74deceb8e2bca7ee90408fc4dc You're receiving this email because of your account on gitlab.archlinux.org.