David Runge pushed to branch main at Arch Linux / Packaging / Packages / 
alpm-srcinfo


Commits:
e501059c by David Runge at 2025-03-01T08:39:59+01:00
upgpkg: 0.1.0-2

Rebuild to add shell completions.

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = alpm-srcinfo
        pkgdesc = A CLI for parsing and validation of ALPM SRCINFO files
        pkgver = 0.1.0
-       pkgrel = 1
+       pkgrel = 2
        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-srcinfo
 _upstream=alpm
 pkgver=0.1.0
-pkgrel=1
+pkgrel=2
 pkgdesc="A CLI for parsing and validation of ALPM SRCINFO 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
 }
@@ -54,5 +55,8 @@ package() {
   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/"
+  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-srcinfo/-/commit/e501059c50e80b364dc368544e72747a28abb4bf

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/alpm-srcinfo/-/commit/e501059c50e80b364dc368544e72747a28abb4bf
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to