# Description: Programmable bash completion for pkt-get
# URL: http://www.varlock.com
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: bash-completion pkg-get

name=pkg-get-bashcompletion
version=0.4.5
release=2
source=(https://git.crux.nu/tools/pkg-get/archive/release-$version.tar.gz)
renames=($name-$version.tar.gz)

build() {
  cd pkg-get/scripts
  install -D -m 755 pkg-get_completion.sh $PKG/etc/bash_completion.d/pkg-get
}
