uftrace: move bash completion to /usr/share.

This commit is contained in:
Leah Neukirchen 2018-12-06 14:33:20 +01:00
parent a4152124fb
commit acb59d9f4a

View file

@ -1,7 +1,7 @@
# Template file for 'uftrace'
pkgname=uftrace
version=0.9.1
revision=1
revision=2
build_style=gnu-configure
hostmakedepends="pandoc pkg-config"
makedepends="elfutils-devel ncurses-devel"
@ -22,3 +22,8 @@ case "$XBPS_TARGET_MACHINE" in
arm*) export ARCH=arm;;
aarch64*) export ARCH=aarch64;;
esac
post_install() {
vmkdir usr/share/bash-completion
mv $DESTDIR/etc/bash_completion.d $DESTDIR/usr/share/bash-completion/completions
}