main/bash-completion/PKGBUILD
demm b2ab57381f bash-completion 2.17.0
fluidsynth 2.5.1
libmpdclient 2.24, tagged on github in August, still no regular tar, use github tag for now
openmpi 5.0.9
r 4.5.2
rust 1.91.0, config.toml was renamed to bootstrap.toml, updated id, trial to make it build, issues with /usr/lib copy permissions
set different llvm options, add to depends, no fix, still fails on copying dbus file
2025-10-31 20:02:20 +00:00

32 lines
879 B
Bash

pkgname=bash-completion
pkgver=2.17.0
pkgrel=1
pkgdesc="Programmable completion for the bash shell"
arch=('x86_64')
url="https://github.com/scop/bash-completion"
license=('GPL')
depends=('bash')
source=("https://github.com/scop/bash-completion/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz")
sha256sums=('dd9d825e496435fb3beba3ae7bea9f77e821e894667d07431d1d4c8c570b9e58')
build() {
cd ${pkgname}-${pkgver}
# remove if /lib should become symlink to usr/lib
sed -i '/lib\/modules/ s,/lib/modules,/usr&,' bash_completion
./configure --prefix=/usr --sysconfdir=/etc
make
}
package() {
cd ${pkgname}-${pkgver}
make -j1 DESTDIR=${pkgdir} install
# bash-completion is sourced in /etc/bash.bashrc so that non-bash shell don't source it
rm -r ${pkgdir}/etc/profile.d
# provided by pacman
rm ${pkgdir}/usr/share/bash-completion/completions/makepkg
}