aboutsummaryrefslogtreecommitdiff
path: root/network/sfeed
diff options
context:
space:
mode:
authorIsaac Yu <isaacyu1@isaacyu1.com>2019-05-09 23:36:09 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-05-09 23:36:09 +0700
commit5834d2b42fe99177c644f5a23eb3236604676f25 (patch)
tree65c15649117d228f7d107527cf58df3e820a41b1 /network/sfeed
parent46ab55059ebf392de8856088d891dd99bd9b6380 (diff)
network/sfeed: Update script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/sfeed')
-rw-r--r--network/sfeed/README2
-rw-r--r--network/sfeed/README.SLACKWARE8
-rw-r--r--network/sfeed/sfeed.SlackBuild7
3 files changed, 11 insertions, 6 deletions
diff --git a/network/sfeed/README b/network/sfeed/README
index 42b7b1d7eafd..12a6ed64ff75 100644
--- a/network/sfeed/README
+++ b/network/sfeed/README
@@ -1,5 +1,5 @@
SFeed is a simple RSS and Atom parser.
README.SLACKWARE contains starter tips.
-/usr/share/doc/sfeed/README contains detailed post-install
+/usr/doc/sfeed-0.9.9/README contains detailed post-install
instructions.
diff --git a/network/sfeed/README.SLACKWARE b/network/sfeed/README.SLACKWARE
index 7930098be7a7..30f6a8568f07 100644
--- a/network/sfeed/README.SLACKWARE
+++ b/network/sfeed/README.SLACKWARE
@@ -1,15 +1,17 @@
-The following instructions are taken from /usr/share/doc/sfeed/README:
+The following instructions are taken from /usr/doc/sfeed-0.9.9/README
+Note that the slackbuild removes /usr/share/doc/sfeed; thus, please
+copy necessary files from /usr/doc/sfeed-0.9.9
- Initialize sfeed folders:
mkdir -p "$HOME/.sfeed/feeds"
- Initialize sfeedrc, such as by copying and editing the example file:
-cp /usr/share/doc/sfeed/sfeedrc.example "$HOME/.sfeed/sfeedrc"
+cp /usr/doc/sfeed-0.9.9/sfeedrc.example "$HOME/.sfeed/sfeedrc"
$EDITOR "$HOME/.sfeed/sfeedrc"
- Update feeds:
sfeed_update
- Format feeds. For example, view feeds in HTML (no frames).
-cp /usr/share/doc/sfeed/style.css "$HOME/.sfeed/style.css"
+cp /usr/doc/sfeed-0.9.9/style.css "$HOME/.sfeed/style.css"
sfeed_html $HOME/.sfeed/feeds/* > "$HOME/.sfeed/feeds.html"
diff --git a/network/sfeed/sfeed.SlackBuild b/network/sfeed/sfeed.SlackBuild
index 883b760c20b8..3327a60d8aa6 100644
--- a/network/sfeed/sfeed.SlackBuild
+++ b/network/sfeed/sfeed.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=sfeed
VERSION=${VERSION:-0.9.9}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -78,8 +78,11 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
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
+# Redundant directory
+rm -r $PKG/usr/share/doc/sfeed
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a LICENSE README README.xml $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE README README.xml sfeedrc.example style.css $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