aboutsummaryrefslogtreecommitdiffstats
path: root/testing/bash-completion
diff options
context:
space:
mode:
authorKiyoshi Aman <aphrael@alpinelinux.org>2011-04-06 04:17:18 -0400
committerNatanael Copa <ncopa@alpinelinux.org>2011-04-11 12:51:21 +0000
commitc9e280f95c80b8d09495baf6a332ffe14c7e4245 (patch)
treef4be746d744c8bb63afab7edaa5a379a5b3150a6 /testing/bash-completion
parent0a8b8a356575989ee8a4c73a3d91a896480b0e85 (diff)
downloadaports-c9e280f95c80b8d09495baf6a332ffe14c7e4245.tar.bz2
aports-c9e280f95c80b8d09495baf6a332ffe14c7e4245.tar.xz
testing/bash-completion: new aport.
Diffstat (limited to 'testing/bash-completion')
-rw-r--r--testing/bash-completion/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/bash-completion/APKBUILD b/testing/bash-completion/APKBUILD
new file mode 100644
index 0000000000..f5eaf42536
--- /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"