# $Id: PKGBUILD 67318 2010-02-06 09:38:55Z eric $ # Maintainer: Aaron Griffin # Contributor: Aurelien Foret # Contributor: Evangelos Foutras pkgname=bash-completion pkgver=1.2 pkgrel=1 pkgdesc="Programmable completion for the bash shell" arch=(any) url="http://bash-completion.alioth.debian.org/" license=('GPL') depends=('bash') source=(http://bash-completion.alioth.debian.org/files/$pkgname-$pkgver.tar.gz cowsay.bashcomp) build() { cd "$srcdir/$pkgname-$pkgver" # fixes for archlinux sed -i 's#/sbin/lsmod#/bin/lsmod#' bash_completion || return 1 ./configure --prefix=/usr --sysconfdir=/etc make || return 1 make DESTDIR="$pkgdir" install install -D -m644 "$srcdir/cowsay.bashcomp" "$pkgdir/etc/bash_completion.d/cowsay" # apache2ctl doesn't work, even when renamed to apachectl (and sed'd) rm "$pkgdir/etc/bash_completion.d/apache2ctl" # munin-node doesn't work, even i've updated munin to 1.4.0 rm "$pkgdir/etc/bash_completion.d/munin-node" } # vim:set ts=2 sw=2 et: md5sums=('457c8808ed54f2b2cdd737b1f37ffa24' 'e9766bdc391caf825cb24e704422987e')