You are not logged in.
As stated in the title, based on this PKGBUILD, the shell completions need to be installed afterwards.
# Maintainer: Alad Wenter <https://github.com/AladW>
pkgname=aurutils-git
pkgver=19.7.r0.g52066989
pkgrel=1
pkgdesc='helper tools for the arch user repository'
url='https://github.com/AladW/aurutils'
arch=('any')
license=('custom:ISC')
source=('git+https://github.com/AladW/aurutils')
changelog=aurutils.changelog
sha256sums=('SKIP')
conflicts=('aurutils')
provides=("aurutils=${pkgver%%.r*}")
depends=('git' 'pacutils' 'curl' 'bash' 'perl' 'perl-json-xs')
makedepends=('git')
optdepends=('bash-completion: bash completion'
'zsh: zsh completion'
'devtools: aur-chroot'
'vifm: default pager'
'ninja: aur-sync ninja support'
'bat: view-delta example script'
'git-delta: view-delta example script'
'python-srcinfo: sync-rebuild example script')
pkgver() {
cd aurutils
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/; s/-/./g'
}
build() {
cd aurutils
make
}
package() {
cd aurutils
make DESTDIR="$pkgdir" install
}
Currently I'm doing this by cloning the GitHub repo, and running the relevant Makefile entry. I would prefer to update aurutils and it's completion scripts in one shot. I have a few questions, though:
Is there a reason why this isn't implemented?
Does anyone have a working aurutils solution for this type of problem?
Would it be beneficial if an aurtuils-completion package was made?
Last edited by tionichm (2025-05-14 08:25:39)
Offline
You misunderstand what optdepends are for .
With aurutils installed look at /usr/share/bash-completion/completions folder .
It shows a file aur which holds the completion info .
If bash-completion is not installed on your system, files in that folder have no effect.
Incase bash-completion is present, it will use the files in that folder.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
I had another read on the makefile in the repository root. I think I just misread it. Completions are built as part of the build stage, which is called in build(). They ought to be installed when the package is installed on the system. I think I was just seeing double when I wrote the orignal post.
Offline