Skip to content

Commit

Permalink
uftrace: move bash completion to /usr/share.
Browse files Browse the repository at this point in the history
  • Loading branch information
leahneukirchen committed Dec 6, 2018
1 parent a415212 commit acb59d9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion srcpkgs/uftrace/template
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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
}

0 comments on commit acb59d9

Please sign in to comment.