Levente Polyak pushed to branch main at Arch Linux / Packaging / Packages / 
tokio-console


Commits:
1d953d6e by Levente Polyak at 2025-01-09T20:24:20+01:00
upgpkg: 0.1.13-3: add completions

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = tokio-console
        pkgdesc = A debugger for async rust!
        pkgver = 0.1.13
-       pkgrel = 2
+       pkgrel = 3
        url = https://github.com/tokio-rs/console
        arch = x86_64
        license = MIT


=====================================
PKGBUILD
=====================================
@@ -2,8 +2,8 @@
 
 pkgname=tokio-console
 pkgver=0.1.13
-pkgrel=2
-pkgdesc='A debugger for async rust! '
+pkgrel=3
+pkgdesc='A debugger for async rust!'
 url='https://github.com/tokio-rs/console'
 license=("MIT")
 arch=('x86_64')
@@ -38,4 +38,11 @@ package() {
     install -Dm0755 -t "$pkgdir/usr/bin/" "target/release/$pkgname"
     # for custom license, e.g. MIT
     install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+    # completions
+    install -d "${pkgdir}/usr/share/bash-completion/completions"
+    "${pkgdir}/usr/bin/tokio-console" gen-completion bash > 
"${pkgdir}/usr/share/bash-completion/completions/tokio-console"
+    install -d "${pkgdir}/usr/share/zsh/site-functions"
+    "${pkgdir}/usr/bin/tokio-console" gen-completion zsh > 
"${pkgdir}/usr/share/zsh/site-functions/_tokio-console"
+    install -d "${pkgdir}/usr/share/fish/vendor_completions.d"
+    "${pkgdir}/usr/bin/tokio-console" gen-completion fish > 
"${pkgdir}/usr/share/fish/vendor_completions.d/tokio-console.fish"
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/tokio-console/-/commit/1d953d6e2a0325fceb62dde6f772f2225e7e346b

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/tokio-console/-/commit/1d953d6e2a0325fceb62dde6f772f2225e7e346b
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to