diff options
Diffstat (limited to 'testing/bash-completion')
-rw-r--r-- | testing/bash-completion/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/bash-completion/APKBUILD b/testing/bash-completion/APKBUILD new file mode 100644 index 000000000..f5eaf4253 --- /dev/null +++ b/testing/bash-completion/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com> +# Maintainer: +pkgname=bash-completion +pkgver=1.3 +pkgrel=0 +pkgdesc="Command-line tab-completion for bash" +url="http://bash-completion.alioth.debian.org/" +arch="noarch" +license="GPL" +depends="bash" +depends_dev= +makedepends="$depends_dev" +install="" +source="http://bash-completion.alioth.debian.org/files/bash-completion-$pkgver.tar.bz2" + +_builddir="$srcdir"/$pkgname-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="a1262659b4bbf44dc9e59d034de505ec bash-completion-1.3.tar.bz2" |