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


Commits:
f0ff3639 by David Runge at 2025-03-01T08:35:57+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-pkginfo
        pkgdesc = A CLI for writing and parsing of ALPM PKGINFO files
        pkgver = 0.1.0
-       pkgrel = 1
+       pkgrel = 2
        url = https://alpm.archlinux.page/alpm-pkginfo/index.html
        arch = x86_64
        license = Apache-2.0 OR MIT


=====================================
PKGBUILD
=====================================
@@ -3,7 +3,7 @@
 pkgname=alpm-pkginfo
 _upstream=alpm
 pkgver=0.1.0
-pkgrel=1
+pkgrel=2
 pkgdesc="A CLI for writing and parsing of ALPM PKGINFO files"
 arch=(x86_64)
 url="https://alpm.archlinux.page/alpm-pkginfo/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-pkginfo/-/commit/f0ff36399fd6d60370ba31261b81d1009538d71f

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


Reply via email to