summaryrefslogtreecommitdiff
path: root/network/sfeed/sfeed.SlackBuild
diff options
context:
space:
mode:
authorIsaac Yu <isaacyu1@isaacyu1.com>2022-08-17 11:51:45 -0700
committerAndrew Clemons <andrew.clemons@gmail.com>2022-08-25 06:41:09 +0900
commitf2cac8ebf5039583e043a5c687fb201865bab1f4 (patch)
treec73a9c1c8205a6877feb65bd8fa43985bf36a433 /network/sfeed/sfeed.SlackBuild
parentf7e1254903d77839a13cf928cec4cfa8458aad9b (diff)
downloadslackbuilds-f2cac8ebf5039583e043a5c687fb201865bab1f4.tar.gz
network/sfeed: Updated for version 1.6.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Diffstat (limited to 'network/sfeed/sfeed.SlackBuild')
-rw-r--r--network/sfeed/sfeed.SlackBuild9
1 files changed, 3 insertions, 6 deletions
diff --git a/network/sfeed/sfeed.SlackBuild b/network/sfeed/sfeed.SlackBuild
index f203c40b79..2db9400b53 100644
--- a/network/sfeed/sfeed.SlackBuild
+++ b/network/sfeed/sfeed.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=sfeed
-VERSION=${VERSION:-1.5}
+VERSION=${VERSION:-1.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -80,19 +80,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