aboutsummaryrefslogtreecommitdiff
path: root/desktop/picom
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2022-05-16 09:04:44 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-05-21 08:25:02 +0700
commit66f7ad1eec602eeb49df92acf1f5a0b2cbe6f8f4 (patch)
tree112ecdf9ec23176751c9b3664a5bdd495ce279ba /desktop/picom
parentb63e762daf11737eb134153f96d3d1a7eed84423 (diff)
desktop/picom: Fix man page directory.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/picom')
-rw-r--r--desktop/picom/picom.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/desktop/picom/picom.SlackBuild b/desktop/picom/picom.SlackBuild
index 18ca2f46fd7d..0d8a9076bace 100644
--- a/desktop/picom/picom.SlackBuild
+++ b/desktop/picom/picom.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=picom
VERSION=${VERSION:-9}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -81,12 +81,15 @@ find -L . \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
-meson build . -D with_docs=true -D b_ndebug=true --prefix=/usr
+meson build . -D with_docs=true -D b_ndebug=true --prefix=/usr --mandir=/usr/man
DESTDIR=$PKG "${NINJA:=ninja}" -C build install
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
install -D -m 0644 $PRGNAM.sample.conf $PKG/etc/$PRGNAM.conf
install -D -m 0644 $PRGNAM-dbus.desktop $PKG/usr/share/applications/$PRGNAM-dbus.desktop