[arch-commits] Commit in bash-completion/trunk (PKGBUILD)

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Mon Jul 17 08:51:56 UTC 2017


    Date: Monday, July 17, 2017 @ 08:51:55
  Author: bpiotrowski
Revision: 300682

2.7-1: new upstream release

Modified:
  bash-completion/trunk/PKGBUILD

----------+
 PKGBUILD |   28 ++++++++++++++--------------
 1 file changed, 14 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-07-17 08:47:17 UTC (rev 300681)
+++ PKGBUILD	2017-07-17 08:51:55 UTC (rev 300682)
@@ -2,33 +2,33 @@
 # Maintainer: Eric Bélanger <eric at archlinux.org>
 
 pkgname=bash-completion
-pkgver=2.5
+pkgver=2.7
 pkgrel=1
-pkgdesc="Programmable completion for the bash shell"
+pkgdesc='Programmable completion for the bash shell'
 arch=('any')
-url="https://github.com/scop/bash-completion"
-license=('GPL2')
-depends=('bash')
-options=('!emptydirs' '!makeflags')
-source=("https://github.com/scop/bash-completion/releases/download/$pkgver/$pkgname-$pkgver.tar.xz")
-sha1sums=('5bcd2c6b47bd147eda51eb4570e8926c40dba1f7')
+url='https://github.com/scop/bash-completion'
+license=(GPL2)
+depends=(bash)
+options=(!emptydirs !makeflags)
+source=($url/releases/download/$pkgver/$pkgname-$pkgver.tar.xz)
+sha1sums=('2260342127086cfedd4801f796fdaaa051411a14')
 
 build() {
-  cd ${pkgname}-${pkgver}
+  cd $pkgname-$pkgver
   ./configure --prefix=/usr --sysconfdir=/etc
   make
 }
 
 package() {
-  cd ${pkgname}-${pkgver}
-  make DESTDIR="${pkgdir}" install
+  cd $pkgname-$pkgver
+  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"
+  rm "$pkgdir/etc/profile.d/bash_completion.sh"
 
   # remove Slackware's makepkg completion
-  rm "${pkgdir}/usr/share/bash-completion/completions/makepkg"
+  rm "$pkgdir/usr/share/bash-completion/completions/makepkg"
 
   # remove completions which overlap with util-linux
-  rm "${pkgdir}/usr/share/bash-completion/completions"/{u,}mount
+  rm "$pkgdir/usr/share/bash-completion/completions"/{u,}mount
 }



More information about the arch-commits mailing list