summaryrefslogtreecommitdiffstats
path: root/source/l/dconf/dconf.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/dconf/dconf.SlackBuild')
-rwxr-xr-xsource/l/dconf/dconf.SlackBuild11
1 files changed, 9 insertions, 2 deletions
diff --git a/source/l/dconf/dconf.SlackBuild b/source/l/dconf/dconf.SlackBuild
index 58ac1b66a..61e6ef403 100755
--- a/source/l/dconf/dconf.SlackBuild
+++ b/source/l/dconf/dconf.SlackBuild
@@ -95,13 +95,20 @@ meson setup \
--sysconfdir=/etc \
--localstatedir=/var \
--buildtype=release \
- -Denable-man=true \
- -Denable-gtk-doc=true \
+ -Dbash_completion=false \
+ -Dgtk_doc=true \
+ -Dman=true \
.. || exit 1
ninja || exit 1
DESTDIR=$PKG ninja install || exit 1
cd ..
+# bash-completion is not available at build time, so install the file manually:
+mkdir -p $PKG/usr/share/bash-completion/completions
+cp -a bin/completion/dconf $PKG/usr/share/bash-completion/completions/dconf
+chown root:root $PKG/usr/share/bash-completion/completions/dconf
+chmod 644 $PKG/usr/share/bash-completion/completions/dconf
+
# Compress manual pages:
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do