sysdig: install bash completion to /usr/share.
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
# Template file for 'sysdig'
|
# Template file for 'sysdig'
|
||||||
pkgname=sysdig
|
pkgname=sysdig
|
||||||
version=0.1.102
|
version=0.1.102
|
||||||
revision=1
|
revision=2
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="-DSYSDIG_VERSION=${version} -DUSE_BUNDLED_JSONCPP=OFF
|
configure_args="-DSYSDIG_VERSION=${version} -DUSE_BUNDLED_JSONCPP=OFF
|
||||||
-DUSE_BUNDLED_ZLIB=OFF -DUSE_BUNDLED_NCURSES=OFF -DUSE_BUNDLED_LUAJIT=OFF
|
-DUSE_BUNDLED_ZLIB=OFF -DUSE_BUNDLED_NCURSES=OFF -DUSE_BUNDLED_LUAJIT=OFF
|
||||||
@@ -19,6 +19,9 @@ distfiles="https://github.com/draios/${pkgname}/archive/${version}.tar.gz"
|
|||||||
checksum=e0bac2262f075ec75cc2c01a002b6d47bb5ee5c80b47925b44152db639093f57
|
checksum=e0bac2262f075ec75cc2c01a002b6d47bb5ee5c80b47925b44152db639093f57
|
||||||
nocross=yes
|
nocross=yes
|
||||||
|
|
||||||
|
post_extract() {
|
||||||
|
sed -i 's,"${DIR_ETC}/bash_completion.d",share/bash-completion/completions,g' scripts/CMakeLists.txt
|
||||||
|
}
|
||||||
post_install() {
|
post_install() {
|
||||||
rm -rf ${DESTDIR}/usr/share/zsh/vendor-completions
|
rm -rf ${DESTDIR}/usr/share/zsh/vendor-completions
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user