diff options
Diffstat (limited to 'desktop/picom/picom.SlackBuild')
-rw-r--r-- | desktop/picom/picom.SlackBuild | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/desktop/picom/picom.SlackBuild b/desktop/picom/picom.SlackBuild index d3b0b5b1e6..ae0c179715 100644 --- a/desktop/picom/picom.SlackBuild +++ b/desktop/picom/picom.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for picom -# Copyright 2020 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy +# Copyright 2020-2023 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=picom -VERSION=${VERSION:-8.2} +VERSION=${VERSION:-10.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -81,13 +81,15 @@ find -L . \ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ -meson build . -D build_docs=true -D b_ndebug=true --prefix=/usr -"${NINJA:=ninja}" -DESTDIR=$PKG $NINJA -C build install +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 |