diff options
author | Edinaldo P. Silva <edps.mundognu@gmail.com> | 2018-05-25 20:54:53 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-05-26 06:59:27 +0700 |
commit | 17c7f340b1dc1d2da087076bc3acf7cc9bd9c6d4 (patch) | |
tree | 886a0962ac04989a376bc5933929c63b13b71b3d /network | |
parent | 274afdec82510259abbee1bd6d054b4bf9a58eb1 (diff) |
network/freerapid: Updated for version 0.9u4.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r-- | network/freerapid/README | 16 | ||||
-rw-r--r-- | network/freerapid/frd.sh | 10 | ||||
-rw-r--r-- | network/freerapid/freerapid.SlackBuild | 25 | ||||
-rw-r--r-- | network/freerapid/freerapid.info | 4 | ||||
-rw-r--r-- | network/freerapid/slack-desc | 2 |
5 files changed, 25 insertions, 32 deletions
diff --git a/network/freerapid/README b/network/freerapid/README index be2185bec5f40..8262b8b85c35a 100644 --- a/network/freerapid/README +++ b/network/freerapid/README @@ -1,25 +1,17 @@ freerapid (Java downloader manager) FreeRapid is an easy to use Java downloader that supports downloading -from Rapidshare, Youtube, Facebook, Picasa and other file-sharing +from Rapidshare, Youtube, Facebook, Picasa and other file-sharing services, include the new ones like mega.co.nz. -Simply copy a nd paste your links from a browser to this application. +Simply copy and paste your links from a browser to this application. FreeRapid Downloader will handle the rest itself. No more clicking or uncomfortable waiting. -To use smooth fonts (better appearance), the options -"-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true" should be used. - -In some distros, the option "-Djava.net.preferIPv4Stack=true -Xmx160m" -should be used. - -To reduce CPU usage, option "-Dsun.java2d.opengl=true" should be used. - -The options mentioned were added in /usr/bin/freerapid for convenience, +Other start options were added into /usr/bin/freerapid for convenience, simply uncomment the desired option. -Please add /usr/lib{64}/java/bin into your $PATH. +NOTE: add /usr/lib{64}/java/bin into your $PATH. Main Features: diff --git a/network/freerapid/frd.sh b/network/freerapid/frd.sh index a2b989ddbcdce..87d839115d3e5 100644 --- a/network/freerapid/frd.sh +++ b/network/freerapid/frd.sh @@ -2,25 +2,25 @@ # default option. if [ -x "`which java`" ]; then - cd /usr/share/freerapid-0.9.4/ && exec java -jar frd.jar "$@" + cd /usr/share/freerapid/ && exec java -jar frd.jar "$@" fi # less CPU usage. #if [ -x "`which java`" ]; then -# cd /usr/share/freerapid-0.9.4/ && exec java -Dsun.java2d.opengl=true -jar frd.jar "$@" +# cd /usr/share/freerapid/ && exec java -Dsun.java2d.opengl=true -jar frd.jar "$@" #fi # needed for some distros. #if [ -x "`which java`" ]; then -# cd /usr/share/freerapid-0.9.4/ && exec java -Djava.net.preferIPv4Stack=true -Xmx160m -jar frd.jar "$@" +# cd /usr/share/freerapid/ && exec java -Djava.net.preferIPv4Stack=true -Xmx160m -jar frd.jar "$@" #fi # better fonts appearance (smooth fonts). #if [ -x "`which java`" ]; then -# cd /usr/share/freerapid-0.9.4/ && exec java -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -Djava.net.preferIPv4Stack=true -Xmx160m -jar frd.jar "$@" +# cd /usr/share/freerapid/ && exec java -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -Djava.net.preferIPv4Stack=true -Xmx160m -jar frd.jar "$@" #fi # all options combined. #if [ -x "`which java`" ]; then -# cd /usr/share/freerapid-0.9.4/ && exec java -Dsun.java2d.opengl=true -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -Djava.net.preferIPv4Stack=true -Xmx160m -jar frd.jar "$@" +# cd /usr/share/freerapid/ && exec java -Dsun.java2d.opengl=true -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -Djava.net.preferIPv4Stack=true -Xmx160m -jar frd.jar "$@" #fi diff --git a/network/freerapid/freerapid.SlackBuild b/network/freerapid/freerapid.SlackBuild index 4773663fc5b62..23fe6b14a97ec 100644 --- a/network/freerapid/freerapid.SlackBuild +++ b/network/freerapid/freerapid.SlackBuild @@ -2,7 +2,7 @@ # # Slackware build script for freerapid. # -# Copyright 2015-2017 Edinaldo P. Silva, Rio de Janeiro, Brazil. +# Copyright 2015-2018 Edinaldo P. Silva, Rio de Janeiro, Brazil. # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,9 +24,8 @@ PRGNAM=freerapid SRCNAM=FreeRapid -VERSION=${VERSION:-0.9.4} -SRCVER=${SRCVER:-0.9u4} -BUILD=${BUILD:-3} +VERSION=${VERSION:-0.9u4} +BUILD=${BUILD:-4} TAG=${TAG:-_SBo} ARCH=noarch @@ -42,8 +41,8 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -unzip $CWD/${SRCNAM}-${SRCVER}.zip -mv $SRCNAM-$SRCVER $PRGNAM-$VERSION +unzip $CWD/${SRCNAM}-${VERSION}.zip +mv $SRCNAM-$VERSION $PRGNAM-$VERSION cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -52,20 +51,22 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# remove MS Windows files. +find -regex '.*\.\(exe\|bat\|chm\|ico\)$' | xargs rm -f +rm -rf tools/gocr + install -d $PKG/usr/bin install -D -m755 $CWD/frd.sh $PKG/usr/bin/freerapid install -d $PKG/usr/share/{applications,pixmaps} install -D -m644 $CWD/freerapid.desktop $PKG/usr/share/applications/freerapid.desktop install -D -m644 frd.png $PKG/usr/share/pixmaps/freerapid.png -mkdir -p $PKG/usr/share/$PRGNAM-$VERSION -cp -a {lib,lookandfeel,search,tools,frd.*,instplgs.dat,objectdb.conf,startup.properties,syscmd.properties} \ -$PKG/usr/share/$PRGNAM-$VERSION - -DOCS="doc/changes.txt doc/readme.* copyright License" +mkdir -p $PKG/usr/share/$PRGNAM +cp -r {lib,lookandfeel,search,tools,frd.jar,objectdb.conf,startup.properties,syscmd.properties} \ +$PKG/usr/share/$PRGNAM mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +cp copyright License doc/{changes.txt,readme.*} $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/network/freerapid/freerapid.info b/network/freerapid/freerapid.info index 8e11b30284a25..5bdd3488ce521 100644 --- a/network/freerapid/freerapid.info +++ b/network/freerapid/freerapid.info @@ -1,7 +1,7 @@ PRGNAM="freerapid" -VERSION="0.9.4" +VERSION="0.9u4" HOMEPAGE="http://wordrider.net/freerapid/index.html" -DOWNLOAD="https://www.dropbox.com/s/dmgv444n2bhocfh/FreeRapid-0.9u4.zip" +DOWNLOAD="http://slackware.uk/sbosrcarch/by-md5/a/0/a067ecbd37ac7c83a795c34a3dc6388f/FreeRapid-0.9u4.zip" MD5SUM="a067ecbd37ac7c83a795c34a3dc6388f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" diff --git a/network/freerapid/slack-desc b/network/freerapid/slack-desc index 469f061cd81ea..eeacb989f7048 100644 --- a/network/freerapid/slack-desc +++ b/network/freerapid/slack-desc @@ -9,7 +9,7 @@ freerapid: freerapid (Java downloader manager) freerapid: freerapid: FreeRapid is an easy to use Java downloader that supports downloading -freerapid: from Rapidshare, Youtube, Facebook, Picasa and other file-sharing +freerapid: from Rapidshare, Youtube, Facebook, Picasa and other file-sharing freerapid: services, include the new ones like mega.co.nz. freerapid: freerapid: Home page: http://wordrider.net/freerapid/index.html/ |