diff options
Diffstat (limited to 'network/sfeed/sfeed.SlackBuild')
-rw-r--r-- | network/sfeed/sfeed.SlackBuild | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/network/sfeed/sfeed.SlackBuild b/network/sfeed/sfeed.SlackBuild index f203c40b79..2dac8c1bd4 100644 --- a/network/sfeed/sfeed.SlackBuild +++ b/network/sfeed/sfeed.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for sfeed -# Copyright 2019-2022 Isaac Yu <isaacyu1@isaacyu1.com> +# Copyright 2019-2023 Isaac Yu <isaacyu@protonmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=sfeed -VERSION=${VERSION:-1.5} +VERSION=${VERSION:-2.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -38,9 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -80,19 +77,16 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; make -make install PREFIX=/usr MANPREFIX=/usr/man DESTDIR=$PKG +make install PREFIX=/usr MANPREFIX=/usr/man DOCPREFIX=/usr/doc/sfeed-$VERSION DESTDIR=$PKG 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 -# Redundant directory -rm -r $PKG/usr/share/doc/sfeed - 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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a LICENSE README README.xml sfeedrc.example style.css $PKG/usr/doc/$PRGNAM-$VERSION +cp -a LICENSE $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cat $CWD/README.SLACKWARE > $PKG/usr/doc/$PRGNAM-$VERSION/README.SLACKWARE |