summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChocobo12019-04-28 12:56:02 +0800
committerChocobo12019-04-28 12:59:29 +0800
commitbc1392e8c106dbb7adf2676636e16edd364c53e2 (patch)
tree48b4bd23da299f4a235f1f7f9658fa5b731f51d6
parent8f128aed6586c3f1dd09834f1d0488703f0d0fb9 (diff)
downloadaur-bc1392e8c106dbb7adf2676636e16edd364c53e2.tar.gz
upgpkg: bash-completion-git 2.9.r2.g483968cd-1
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD15
2 files changed, 8 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4212d5db84e..a28b2fedffa 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = bash-completion-git
pkgdesc = Programmable completion functions for bash
- pkgver = 2.8.r20.gd664aebf
+ pkgver = 2.9.r2.g483968cd
pkgrel = 1
url = https://github.com/scop/bash-completion
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index c5d807c4cf6..19bc1518cad 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>
pkgname=bash-completion-git
-pkgver=2.8.r20.gd664aebf
+pkgver=2.9.r2.g483968cd
pkgrel=1
pkgdesc="Programmable completion functions for bash"
arch=('any')
@@ -26,21 +26,20 @@ build() {
cd "bash-completion"
autoreconf -fi
- ./configure --prefix="/usr" --sysconfdir="/etc"
+ ./configure \
+ --prefix="/usr" \
+ --sysconfdir="/etc"
make
}
-check() {
- cd "bash-completion"
-
- make check
-}
-
package() {
cd "bash-completion"
make DESTDIR="$pkgdir" install
+ # bash-completion is sourced in /etc/bash.bashrc so that non-bash shell don't source it
rm "$pkgdir/etc/profile.d/bash_completion.sh"
+
+ # remove Slackware's makepkg completion
rm "$pkgdir/usr/share/bash-completion/completions/makepkg"
}