summaryrefslogtreecommitdiff
path: root/libre/epiphany-libre/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/epiphany-libre/PKGBUILD')
-rw-r--r--libre/epiphany-libre/PKGBUILD11
1 files changed, 7 insertions, 4 deletions
diff --git a/libre/epiphany-libre/PKGBUILD b/libre/epiphany-libre/PKGBUILD
index 0fcc1a491..d1289a2cf 100644
--- a/libre/epiphany-libre/PKGBUILD
+++ b/libre/epiphany-libre/PKGBUILD
@@ -1,12 +1,12 @@
-# $Id: PKGBUILD 195129 2013-09-25 11:58:35Z jgc $
+# $Id: PKGBUILD 196579 2013-10-15 14:29:30Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
# Contributor (Parabola): Márcio Silva <coadde@lavabit.com>
_pkgname=epiphany
pkgname=epiphany-libre
-pkgver=3.10.0
-pkgrel=2
+pkgver=3.10.1
+pkgrel=1
install=epiphany.install
pkgdesc="A GNOME web browser based on the WebKit rendering engine, with DuckDuckGo HTML support"
arch=('i686' 'x86_64' 'mips64el')
@@ -20,11 +20,14 @@ options=('!libtool' '!emptydirs')
groups=('gnome')
url="http://www.gnome.org/projects/epiphany/"
source=(http://ftp.gnome.org/pub/GNOME/sources/$_pkgname/${pkgver:0:4}/$_pkgname-$pkgver.tar.xz)
-sha256sums=('7bd2c3b21464a83909d75befe2f9501c1ab2f00e2371f26023f79818faec351e')
+sha256sums=('86c680b4b12432b18cbb8e7dec25b26586a536cb5842027db2e6986f416ddfad')
prepare() {
cd $_pkgname-$pkgver
+ # Replace DuckDuckGo to DuckDuckGo HTML
+ sed -i 's|duckduckgo[.]com|duckduckgo.com/html|g' $(grep -rlI 'duckduckgo[.]com')
+
# Replace Google support to DuckDuckGo HTML
sed -i 's|http://www[.]google[.]com/search?q=%s[&]ie=UTF-8[&]oe=UTF-8|https://duckduckgo.com/html/?q=search|g' $(grep -rlI 'http://www[.]google[.]com/search?q=%s&ie=UTF-8&oe=UTF-8')
sed -i '\|a quoted string should be searched|d' $(grep -rlI 'a quoted string should be searched')