summaryrefslogtreecommitdiff
path: root/libre/epiphany-libre/PKGBUILD
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-10-15 23:53:24 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-10-15 23:53:24 -0400
commiteb133c8b1c796249cea42e3b17e03fccfaa8cfc6 (patch)
tree43c33f10998af8ad485199638cfd0ddda7a98bd8 /libre/epiphany-libre/PKGBUILD
parent0d890d258efd20d019024170fcb156ea4973d6c9 (diff)
parentd55def6a28adaf0688168e109c9793619fb691b2 (diff)
downloadabslibre-eb133c8b1c796249cea42e3b17e03fccfaa8cfc6.tar.gz
abslibre-eb133c8b1c796249cea42e3b17e03fccfaa8cfc6.tar.bz2
abslibre-eb133c8b1c796249cea42e3b17e03fccfaa8cfc6.zip
Merge branch 'master' of git://projects.parabolagnulinux.org/abslibre
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')