summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorskaendo <skaendo at excite dot com>2017-04-12 20:35:54 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-04-13 07:27:52 +0700
commitffb269bd559e65e67caf218f9e443f5dc55a9ae7 (patch)
tree1a4c5fecccb5820af8a7b137403298896fb875ac
parentd9b71fdd7b9938fba67b5e326adcdbeb187de542 (diff)
downloadslackbuilds-ffb269bd559e65e67caf218f9e443f5dc55a9ae7.tar.gz
network/slimjet: Updated for version 13.0.9.0.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--network/slimjet/README9
-rw-r--r--network/slimjet/doinst.sh9
-rw-r--r--network/slimjet/slimjet.SlackBuild19
-rw-r--r--network/slimjet/slimjet.desktop4
-rw-r--r--network/slimjet/slimjet.info8
5 files changed, 30 insertions, 19 deletions
diff --git a/network/slimjet/README b/network/slimjet/README
index 3610898165..46e2abe889 100644
--- a/network/slimjet/README
+++ b/network/slimjet/README
@@ -1,3 +1,5 @@
+slimjet (Chromium based web browser)
+
Slimjet is built on top of the Chromium open-source project on which
Google Chrome is also based. It enjoys the same speed and reliablity
provided by the underlying blink engine as Google Chrome. However, many
@@ -10,6 +12,13 @@ to the ubiquitous presence and reach of the advertising empire.
Slimjet is compatible with all extensions and plugins designed for
Google Chrome available from the Chrome web store.
+This SlackBuild does NOT attempt to compile slimjet from source, it
+only repackages the binaries that are provided by the developers.
+
+The MD5SUM and VERSION numbers may be incorrect from time to time due
+to the developers' release scheme. If this occurs, you will have the
+latest release, but it will be numbered wrongly.
+
NOTE: Run the wrapper script "flashpeak-slimjet" from the terminal for
the first time to enable the sand box (admin access required). After
that, you can run the wrapper script from a desktop shortcut.
diff --git a/network/slimjet/doinst.sh b/network/slimjet/doinst.sh
new file mode 100644
index 0000000000..65c7e2eeb9
--- /dev/null
+++ b/network/slimjet/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/network/slimjet/slimjet.SlackBuild b/network/slimjet/slimjet.SlackBuild
index 3046a4282c..ca6b448ed8 100644
--- a/network/slimjet/slimjet.SlackBuild
+++ b/network/slimjet/slimjet.SlackBuild
@@ -22,7 +22,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=slimjet
-VERSION=${VERSION:-13.0.8.0}
+VERSION=${VERSION:-13.0.9.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -39,22 +39,13 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
- SRCARCH=i386
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
+if [ "$ARCH" = "i586" ] || [ "$ARCH" = "i686" ]; then
SRCARCH=i386
elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
SRCARCH=amd64
else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
- SRCARCH=i386
+ echo "$ARCH is not supported."
+ exit 1
fi
set -e
@@ -112,10 +103,12 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a license.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/slimjet/slimjet.desktop b/network/slimjet/slimjet.desktop
index c69faf6d87..49a73ad3d2 100644
--- a/network/slimjet/slimjet.desktop
+++ b/network/slimjet/slimjet.desktop
@@ -115,7 +115,7 @@ X-Ayatana-Desktop-Shortcuts=NewWindow;NewIncognito
Name[en_US]=Slimjet Web Browser
-[NewWindow Shortcut Group]
+[X-NewWindow Shortcut Group]
Name=New Window
Name[am]=አዲስ መስኮት
Name[ar]=نافذة جديدة
@@ -170,7 +170,7 @@ Name[zh_TW]=開新視窗
Exec=/usr/bin/flashpeak-slimjet
TargetEnvironment=Unity
-[NewIncognito Shortcut Group]
+[X-NewIncognito Shortcut Group]
Name=New Incognito Window
Name[ar]=نافذة جديدة للتصفح المتخفي
Name[bg]=Нов прозорец „инкогнито“
diff --git a/network/slimjet/slimjet.info b/network/slimjet/slimjet.info
index 6ea6a16ae2..58cd3f8602 100644
--- a/network/slimjet/slimjet.info
+++ b/network/slimjet/slimjet.info
@@ -1,10 +1,10 @@
PRGNAM="slimjet"
-VERSION="13.0.8.0"
+VERSION="13.0.9.0"
HOMEPAGE="https://www.slimjet.com"
DOWNLOAD="https://www.slimjetbrowser.com/release/slimjet_i386.tar.xz"
-MD5SUM="54d01ec246ba3ff19d7231829d588afb"
+MD5SUM="66d3601b32118113c9ec3120639bc941"
DOWNLOAD_x86_64="https://www.slimjetbrowser.com/release/slimjet_amd64.tar.xz"
-MD5SUM_x86_64="9d756913960e0b9e9ac124a39d53cc55"
+MD5SUM_x86_64="4a4fefde84c9ff9f46e71a2da314bcf1"
REQUIRES=""
-MAINTAINER="Ed Ender"
+MAINTAINER="skaendo"
EMAIL="skaendo at excite dot com"