aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2010-06-12 03:28:10 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-06-12 07:47:26 -0500
commit8865baedef5c6492905fe0465fc83a82204168a6 (patch)
treeeb1182f6438558b8473fd84fd152fd424dbe549e
parent05994665a8166a9376888a741bdb2c8c1c56af07 (diff)
network/RSSOwl: Updated for version 2.0.5.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r--network/RSSOwl/README1
-rw-r--r--network/RSSOwl/RSSOwl.SlackBuild31
-rw-r--r--network/RSSOwl/RSSOwl.info12
-rw-r--r--network/RSSOwl/slack-desc2
4 files changed, 26 insertions, 20 deletions
diff --git a/network/RSSOwl/README b/network/RSSOwl/README
index 8f8660ff9b799..d203b265b5b30 100644
--- a/network/RSSOwl/README
+++ b/network/RSSOwl/README
@@ -3,4 +3,3 @@ you gather, organize, update, and store information from any compliant
source in a convenient, easy to use interface, save selected information in
various formats for offline viewing and sharing, and much more. RSSOwl is
open source, licensed under the terms of the Eclipse Public License.
-
diff --git a/network/RSSOwl/RSSOwl.SlackBuild b/network/RSSOwl/RSSOwl.SlackBuild
index eafff068cc143..91222b5b5482a 100644
--- a/network/RSSOwl/RSSOwl.SlackBuild
+++ b/network/RSSOwl/RSSOwl.SlackBuild
@@ -6,8 +6,7 @@
# Maintained by Erik Hanson, erik@slackbuilds.org 2010-
PRGNAM=RSSOwl
-VERSION=${VERSION:-2.0.4}
-ARCH=${ARCH:-i486}
+VERSION=${VERSION:-2.0.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -16,12 +15,23 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i486 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
if [ "$ARCH" = "x86_64" ]; then
LIBDIRSUFFIX="64"
SRC_ARCH="x86_64.zip"
-else
+elif [ "$ARCH" = "i486" ]; then
LIBDIRSUFFIX=""
SRC_ARCH="zip"
+else
+ printf "$ARCH is not supported...\n"
+ exit 1
fi
set -e
@@ -42,30 +52,27 @@ find . \
mkdir -p $PKG/usr/bin
cat > $PKG/usr/bin/$PRGNAM << EOF
#!/bin/sh
-
cd /usr/lib${LIBDIRSUFFIX}/$PRGNAM/
./$PRGNAM
-
EOF
-chmod +x $PKG/usr/bin/$PRGNAM
+chmod 0755 $PKG/usr/bin/$PRGNAM
mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAM
-cp -av * $PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAM/
+cp -av * $PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAM
-mkdir -p $PKG/usr/share/pixmaps/
+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]
-Encoding=UTF-8
Exec=$PRGNAM
-Icon=/usr/share/pixmaps/$PRGNAM.xpm
+Icon=$PRGNAM
Type=Application
-Categories=Application;Network;
+Categories=Network;
Name=$PRGNAM
GenericName=RSS News Reader
-MimeType=application/rss+xml
+MimeType=application/rss+xml;
X-KDE-StartupNotify=true
EOF
diff --git a/network/RSSOwl/RSSOwl.info b/network/RSSOwl/RSSOwl.info
index 0bcad5ebc3f7a..222d500026960 100644
--- a/network/RSSOwl/RSSOwl.info
+++ b/network/RSSOwl/RSSOwl.info
@@ -1,10 +1,10 @@
PRGNAM="RSSOwl"
-VERSION="2.0.4"
+VERSION="2.0.5"
HOMEPAGE="http://www.rssowl.org/"
-DOWNLOAD="http://downloads.sourceforge.net/rssowl/rssowl-2.0.4.linux.zip"
-MD5SUM="85ef3d531860dfc528a6c71dcd55aea9"
-DOWNLOAD_x86_64="http://downloads.sourceforge.net/rssowl/rssowl-2.0.4.linux.x86_64.zip"
-MD5SUM_x86_64="1fc675d34e1626aaa0ab31f638797c6a"
+DOWNLOAD="http://downloads.sourceforge.net/rssowl/rssowl-2.0.5.linux.zip"
+MD5SUM="af3367be6c811d29432c2684e598ac6c"
+DOWNLOAD_x86_64="http://downloads.sourceforge.net/rssowl/rssowl-2.0.5.linux.x86_64.zip"
+MD5SUM_x86_64="17f84a1b9f6aec795968d225cf31cd52"
MAINTAINER="Erik Hanson"
EMAIL="erik@slackbuilds.org"
-APPROVED="michiel"
+APPROVED="rworkman"
diff --git a/network/RSSOwl/slack-desc b/network/RSSOwl/slack-desc
index 50b4a3d86602a..4381dba63695d 100644
--- a/network/RSSOwl/slack-desc
+++ b/network/RSSOwl/slack-desc
@@ -14,6 +14,6 @@ RSSOwl: save selected information in various formats for offline viewing
RSSOwl: and sharing, and much more. RSSOwl is open source,
RSSOwl: licensed under the terms of the Eclipse Public License.
RSSOwl:
-RSSOwl:
RSSOwl: Homepage: http://www.rssowl.org/
RSSOwl:
+RSSOwl: