mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
network/midori: Updated for version 0.2.6.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
This commit is contained in:
parent
aad589d97d
commit
287c12f0eb
4 changed files with 17 additions and 12 deletions
|
@ -1,9 +1,13 @@
|
|||
Midori is a lightweight, webkit-based web browser.
|
||||
|
||||
Since midori is still in heavy development, an "updated" version
|
||||
can be grabbed via. git and making minor changes to the buildscript:
|
||||
can be grabbed via git and making minor changes to the buildscript:
|
||||
|
||||
git clone http://software.twotoasts.de/media/midori.git midori
|
||||
|
||||
Note: To build midori, libsexy, libunique and webkit are required, all of
|
||||
which are available at slackbuilds.org.
|
||||
|
||||
When upgrading from 0.2.2 to 0.2.6, be aware the config file for libadblock
|
||||
in midori has moved from /etc/midori to /etc/xdg/midori/. If you have a
|
||||
custom config, you will need to manually move it over.
|
||||
|
|
|
@ -12,7 +12,7 @@ config() {
|
|||
}
|
||||
|
||||
config etc/xdg/midori/search.new
|
||||
config etc/midori/extensions/libadblock.so/config.new
|
||||
config etc/xdg/midori/extensions/libadblock.so/config.new
|
||||
|
||||
if [ -x /usr/bin/update-desktop-database ]; then
|
||||
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Slackware build script for midori
|
||||
# Slackware build script for midori.
|
||||
|
||||
# Copyright 2008 Andrew Brouwers <abrouwers@gmail.com>
|
||||
# Copyright 2009 Pierre Cazenave <pwcazenave {at} gmail [dot] com>
|
||||
# Copyright 2009-2010 Pierre Cazenave <pwcazenave {at} gmail [dot] com>
|
||||
#
|
||||
# All rights reserved.
|
||||
#
|
||||
|
@ -25,17 +25,15 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=midori
|
||||
VERSION=0.2.2
|
||||
VERSION=0.2.6
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
# Automatically determine the architecture we're building on:
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
i?86) ARCH=i486 ;;
|
||||
arm*) ARCH=arm ;;
|
||||
# Unless $ARCH is already set, use uname -m for all other archs:
|
||||
*) ARCH=$( uname -m ) ;;
|
||||
*) ARCH=$( uname -m ) ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
|
@ -49,6 +47,9 @@ DOCS="AUTHORS COPYING ChangeLog EXPAT HACKING INSTALL TODO TRANSLATE docs/user/m
|
|||
if [ "$ARCH" = "i486" ]; then
|
||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "s390" ]; then
|
||||
SLKCFLAGS="-O2"
|
||||
LIBDIRSUFFIX=""
|
||||
|
@ -93,7 +94,7 @@ export CXXFLAGS="$SLKCFLAGS"
|
|||
|
||||
# Don't clobber existing configs
|
||||
mv $PKG/etc/xdg/midori/search $PKG/etc/xdg/midori/search.new
|
||||
mv $PKG/etc/midori/extensions/libadblock.so/config $PKG/etc/midori/extensions/libadblock.so/config.new
|
||||
mv $PKG/etc/xdg/midori/extensions/libadblock.so/config $PKG/etc/xdg/midori/extensions/libadblock.so/config.new
|
||||
|
||||
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="midori"
|
||||
VERSION="0.2.2"
|
||||
VERSION="0.2.6"
|
||||
HOMEPAGE="http://www.twotoasts.de/index.php?/pages/midori_summary.html"
|
||||
DOWNLOAD="http://archive.xfce.org/src/apps/midori/0.2/midori-0.2.2.tar.bz2"
|
||||
MD5SUM="14f81a7a10f80a173da1b5e88713400b"
|
||||
DOWNLOAD="http://archive.xfce.org/src/apps/midori/0.2/midori-0.2.6.tar.bz2"
|
||||
MD5SUM="249ddb3485d8246e0fda25dd735953f0"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="Pierre Cazemave"
|
||||
|
|
Loading…
Reference in a new issue