diff options
Diffstat (limited to 'opt/bash-completion/MAKEPKG')
| -rw-r--r-- | opt/bash-completion/MAKEPKG | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/opt/bash-completion/MAKEPKG b/opt/bash-completion/MAKEPKG new file mode 100644 index 0000000..c544bf2 --- /dev/null +++ b/opt/bash-completion/MAKEPKG @@ -0,0 +1,41 @@ +#!/bin/mkpkg +# description: Programmable completion functions for bash +# url: https://github.com/scop/bash-completion + +name=bash-completion +version=2.17.0 +release=1 + +source=( + "https://github.com/scop/bash-completion/releases/download/${version}/bash-completion-${version}.tar.xz" +) + +sha256sums=( + "dd9d825e496435fb3beba3ae7bea9f77e821e894667d07431d1d4c8c570b9e58" +) + +patch() { + cd bash-completion-${version} +} + +build() { + cd bash-completion-${version} + + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --with-bash-completion-dir=/usr/share/bash-completion/completions + + make + make DESTDIR="${PKG}" install + + rm -f "${PKG}/etc/bash_completion" + #rm -f "${PKG}/etc/profile.d/bash_completion.sh" +} + +signify() { + untrusted comment: public key + RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3 +} + +# vim: filetype=sh |
