27 lines
673 B
Plaintext
27 lines
673 B
Plaintext
# Description: Bash completion functions
|
|
# URL: http://bash-completion.alioth.debian.org/
|
|
# Maintainer: Jose V Beneyto, sepen at crux dot nu
|
|
# Packager: Johannes Winkelmann, jw at smts dot ch
|
|
# Depends on: bash
|
|
|
|
name=bash-completion
|
|
version=1.99
|
|
release=1
|
|
source=(http://$name.alioth.debian.org/files/$name-$version.tar.bz2)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
sed -i Makefile.* \
|
|
-e 's|pkgconfigdir = .*|pkgconfigdir = /usr/lib/pkgconfig|g' \
|
|
-e 's|profiledir = .*|profiledir = /etc|g'
|
|
|
|
./configure --prefix=/usr --sysconfdir=/etc
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
mv $PKG/etc/bash_completion{.sh,}
|
|
chmod 0755 $PKG/usr/share/$name/bash_completion
|
|
}
|