desktop/sawfish: SlackBuild script updated.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
Edinaldo P. Silva 2017-09-10 11:04:06 +01:00 committed by Willy Sudiarto Raharjo
parent a0ba5a39d6
commit 52f75bd0fd

View file

@ -24,7 +24,7 @@
PRGNAM=sawfish
VERSION=${VERSION:-1.12.90}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -86,6 +86,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
install -Dm644 sawfish.el $PKG/usr/share/emacs/site-lisp/sawfish.el
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
@ -97,6 +99,7 @@ gzip -9 $PKG/usr/info/*.info*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
cp lisp/sawfish/wm/tile/readme.org $PKG/usr/doc/$PRGNAM-$VERSION/readme.tiling.org
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install