[arch-commits] Commit in bash-completion/repos (testing-any testing-any/PKGBUILD)

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Sun Mar 18 10:22:20 UTC 2018


    Date: Sunday, March 18, 2018 @ 10:22:19
  Author: bpiotrowski
Revision: 319571

archrelease: copy trunk to testing-any

Added:
  bash-completion/repos/testing-any/
  bash-completion/repos/testing-any/PKGBUILD
    (from rev 319570, bash-completion/trunk/PKGBUILD)

----------+
 PKGBUILD |   36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

Copied: bash-completion/repos/testing-any/PKGBUILD (from rev 319570, bash-completion/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD	                        (rev 0)
+++ testing-any/PKGBUILD	2018-03-18 10:22:19 UTC (rev 319571)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=bash-completion
+pkgver=2.8
+pkgrel=1
+pkgdesc='Programmable completion for the bash shell'
+arch=(any)
+url='https://github.com/scop/bash-completion'
+license=(GPL2)
+depends=(bash)
+options=(!emptydirs !makeflags)
+source=($url/releases/download/$pkgver/$pkgname-$pkgver.tar.xz{,.sig})
+validpgpkeys=(A558062B6D5DA1347CD468D52B0AE2C1B09B07CB)
+sha1sums=('102d618c60fa001165153b58751d07f230aec7e8'
+          'SKIP')
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --sysconfdir=/etc
+  make
+}
+
+package() {
+  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"
+
+  # remove Slackware's makepkg completion
+  rm "$pkgdir/usr/share/bash-completion/completions/makepkg"
+
+  # remove completions which overlap with util-linux
+  rm "$pkgdir/usr/share/bash-completion/completions"/{u,}mount
+}



More information about the arch-commits mailing list