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

Eric Bélanger eric at archlinux.org
Sun Mar 18 01:39:45 EDT 2012


    Date: Sunday, March 18, 2012 @ 01:39:45
  Author: eric
Revision: 153693

archrelease: copy trunk to testing-any

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

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

Copied: bash-completion/repos/testing-any/PKGBUILD (from rev 153692, bash-completion/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD	                        (rev 0)
+++ testing-any/PKGBUILD	2012-03-18 05:39:45 UTC (rev 153693)
@@ -0,0 +1,28 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=bash-completion
+pkgver=1.99
+pkgrel=1
+pkgdesc="Programmable completion for the bash shell"
+arch=('any')
+url="http://bash-completion.alioth.debian.org/"
+license=('GPL')
+depends=('bash')
+options=('!emptydirs')
+source=("http://bash-completion.alioth.debian.org/files/${pkgname}-${pkgver}.tar.bz2")
+md5sums=('3cf478b7f1065f424d3d6ec35f80e4f2')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  ./configure --prefix=/usr --sysconfdir=/etc
+  make
+}
+
+package() {
+  cd "${srcdir}/${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"
+}



More information about the arch-commits mailing list