David Runge pushed to branch main at Arch Linux / Packaging / Packages / alpm-buildinfo
Commits: bdf3a861 by David Runge at 2025-03-01T08:34:56+01:00 upgpkg: 0.1.0-3 Rebuild to add shell completions. Remove BUILDINFO.5 (still provided by pacman), but keep the versioned versions. - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,7 +1,7 @@ pkgbase = alpm-buildinfo pkgdesc = A CLI for writing and parsing of ALPM BUILDINFO files pkgver = 0.1.0 - pkgrel = 2 + pkgrel = 3 url = https://alpm.archlinux.page/alpm-buildinfo/index.html arch = x86_64 license = Apache-2.0 OR MIT ===================================== PKGBUILD ===================================== @@ -3,7 +3,7 @@ pkgname=alpm-buildinfo _upstream=alpm pkgver=0.1.0 -pkgrel=2 +pkgrel=3 pkgdesc="A CLI for writing and parsing of ALPM BUILDINFO files" arch=(x86_64) url="https://alpm.archlinux.page/alpm-buildinfo/index.html" @@ -39,6 +39,7 @@ build() { export CARGO_TARGET_DIR=target cargo build --frozen --release --package $pkgname + just generate shell_completions $pkgname just generate specifications $pkgname just generate manpages $pkgname } @@ -53,6 +54,10 @@ package() { cd $_upstream install -vDm 755 target/release/$pkgname -t "$pkgdir/usr/bin/" install -vDm 644 output/manpages/*.1 -t "$pkgdir/usr/share/man/man1/" - install -vDm 644 output/manpages/*.5 -t "$pkgdir/usr/share/man/man5/" + # NOTE: for now only install the versioned manpages, because pacman also still provides a BUILDINFO.5 + install -vDm 644 output/manpages/*v{1,2}.5 -t "$pkgdir/usr/share/man/man5/" + install -vDm 644 output/shell_completions/$pkgname.bash "$pkgdir/usr/share/bash-completions/completions/$pkgname" + install -vDm 644 output/shell_completions/$pkgname.fish -t "$pkgdir/usr/share/fish/vendor_completions.d/" + install -vDm 644 output/shell_completions/_$pkgname -t "$pkgdir/usr/share/zsh/site-functions/" install -vDm 644 LICENSES/*.txt -t "$pkgdir/usr/share/licenses/$pkgname/" } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/alpm-buildinfo/-/commit/bdf3a861c3076be873307492ef8a8fca8a823576 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/alpm-buildinfo/-/commit/bdf3a861c3076be873307492ef8a8fca8a823576 You're receiving this email because of your account on gitlab.archlinux.org.