Files
MSYS2-packages/bash-completion/PKGBUILD
Christoph Reiter a3bd05d4d1 bash-completion: Update to 2.14.0
* 001-quote_readline_by_ref_fixes.patch: drop,
  it was copied from Debian, but Debian dropped it in
  fffd501c65
2024-06-09 16:37:53 +02:00

33 lines
779 B
Bash

# Maintainer: Alexey Pavlov <alexpux@gmail.com>
pkgname=bash-completion
pkgver=2.14.0
pkgrel=1
pkgdesc="Programmable completion for the bash shell"
arch=('any')
url="https://github.com/scop/bash-completion"
license=('GPL')
depends=('bash')
makedepends=('autotools')
options=('!emptydirs' '!makeflags')
source=(https://github.com/scop/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz)
sha256sums=('5c7494f968280832d6adb5aa19f745a56f1a79df311e59338c5efa6f7285e168')
prepare() {
cd ${pkgname}-${pkgver}
autoreconf --install
}
build() {
cd ${pkgname}-${pkgver}
./configure --prefix=/usr --sysconfdir=/etc
make
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
rm "${pkgdir}"/usr/share/bash-completion/completions/makepkg
}