summaryrefslogtreecommitdiff
path: root/network/RSSOwl/RSSOwl.SlackBuild
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2011-07-24 17:21:43 -0400
committerNiels Horn <niels.horn@slackbuilds.org>2011-08-11 20:23:15 -0300
commit8a6e7eae5741a65c390b179b60fedb83730a4a76 (patch)
tree18f9c8f232a9a4c9e34635fc4cacf298b2390b27 /network/RSSOwl/RSSOwl.SlackBuild
parente618a42464cbb0e5ffda92ba2aca846e343e70dc (diff)
downloadslackbuilds-8a6e7eae5741a65c390b179b60fedb83730a4a76.tar.gz
network/RSSOwl: Updated for version 2.1.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'network/RSSOwl/RSSOwl.SlackBuild')
-rw-r--r--network/RSSOwl/RSSOwl.SlackBuild47
1 files changed, 25 insertions, 22 deletions
diff --git a/network/RSSOwl/RSSOwl.SlackBuild b/network/RSSOwl/RSSOwl.SlackBuild
index e1d26b48f3..1f9a899cc9 100644
--- a/network/RSSOwl/RSSOwl.SlackBuild
+++ b/network/RSSOwl/RSSOwl.SlackBuild
@@ -1,12 +1,30 @@
#!/bin/sh
-
+#
# Slackware build script for RSSOwl
-
+#
# Written by Vincent Batts, vbatts@hashbangbash.com -2009
-# Maintained by Erik Hanson, erik@slackbuilds.org 2010-
+# Maintained by Erik Hanson, erik@slackbuilds.org 2010-2011
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=RSSOwl
-VERSION=${VERSION:-2.0.6}
+VERSION=${VERSION:-2.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -50,12 +68,7 @@ find . \
-exec chmod 644 {} \;
mkdir -p $PKG/usr/bin
-cat > $PKG/usr/bin/$PRGNAM << EOF
-#!/bin/sh
-cd /usr/lib${LIBDIRSUFFIX}/$PRGNAM/
-./$PRGNAM
-EOF
-chmod 0755 $PKG/usr/bin/$PRGNAM
+ln -s /usr/lib${LIBDIRSUFFIX}/RSSOwl/RSSOwl $PKG/usr/bin/RSSOwl
mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAM
cp -av * $PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAM
@@ -63,18 +76,8 @@ cp -av * $PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAM
mkdir -p $PKG/usr/share/pixmaps
cp -av icon.xpm $PKG/usr/share/pixmaps/$PRGNAM.xpm
-mkdir -p $PKG/usr/share/applications/
-cat > $PKG/usr/share/applications/${PRGNAM}.desktop << EOF
-[Desktop Entry]
-Exec=$PRGNAM
-Icon=$PRGNAM
-Type=Application
-Categories=Network;
-Name=$PRGNAM
-GenericName=RSS News Reader
-MimeType=application/rss+xml;
-X-KDE-StartupNotify=true
-EOF
+mkdir -p $PKG/usr/share/applications
+cp -v $CWD/$PRGNAM.desktop $PKG/usr/share/applications/
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a about* $PKG/usr/doc/$PRGNAM-$VERSION