diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-01-28 03:27:16 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-01-28 03:27:16 +0000 |
commit | 462391357aa5e749dc9908c15f3baa0b4416f3d8 (patch) | |
tree | 11d4d3f054aae9ffd869adc634054f64a16d83b8 /libre/epiphany-libre | |
parent | 748e32a3a886569b58a27003e85b76be5746153d (diff) |
Tue Jan 28 03:22:21 UTC 2014
Diffstat (limited to 'libre/epiphany-libre')
-rw-r--r-- | libre/epiphany-libre/PKGBUILD | 55 | ||||
-rw-r--r-- | libre/epiphany-libre/epiphany.install | 13 |
2 files changed, 0 insertions, 68 deletions
diff --git a/libre/epiphany-libre/PKGBUILD b/libre/epiphany-libre/PKGBUILD deleted file mode 100644 index 8f1c2a8b6..000000000 --- a/libre/epiphany-libre/PKGBUILD +++ /dev/null @@ -1,55 +0,0 @@ -# $Id: PKGBUILD 201443 2013-12-11 19:00:11Z heftig $ -# Maintainer: Jan de Groot <jgc@archlinux.org> -# Maintainer (Parabola): André Silva <emulatorman@parabola.nu> -# Contributor (Parabola): Márcio Silva <coadde@lavabit.com> - -_pkgname=epiphany -pkgname=epiphany-libre -pkgver=3.10.3 -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') -license=('GPL') -depends=('libsoup' 'libnotify' 'gsettings-desktop-schemas' 'webkitgtk' 'nss' 'iso-codes' 'dconf' 'desktop-file-utils' 'gnome-icon-theme-symbolic' 'gcr' 'gnome-desktop' 'libwnck3' 'gnome-themes-standard') -makedepends=('intltool' 'itstool' 'docbook-xml' 'startup-notification' 'gobject-introspection') -replaces=$_pkgname -conflicts=$_pkgname -provides=$_pkgname=$pkgver -options=('!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=('c18235ecceaa9c76e7d90d370861cb2bba45019e1e14391a00dac3d2e94a0db7') - -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') - sed -i 's|http://www[.]google[.]com/search?q=%s[&]amp;ie=UTF-8[&]amp;oe=UTF-8|https://duckduckgo.com/html/?q=%s|g' $(grep -rlI 'http://www[.]google[.]com/search') - sed -i 's|http://www[.]google[.]com|https://duckduckgo.com/html|g' $(grep -rlI 'google[.]com') - sed -i 's|http://google[.]com|https://duckduckgo.com/html|g' $(grep -rlI 'google[.]com') - sed -i 's|mail[.]google[.]com|mail.com|g' $(grep -rlI 'mail[.]google[.]com') - sed -i 's|google[.]com|duckduckgo.com/html|g' $(grep -rlI 'google[.]com') -} - -build() { - cd $_pkgname-$pkgver - ./configure --prefix=/usr --sysconfdir=/etc \ - --localstatedir=/var - - # https://bugzilla.gnome.org/show_bug.cgi?id=655517 - sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool - - make -} - -package() { - cd $_pkgname-$pkgver - make DESTDIR="$pkgdir" install -} diff --git a/libre/epiphany-libre/epiphany.install b/libre/epiphany-libre/epiphany.install deleted file mode 100644 index 8b17fa3d4..000000000 --- a/libre/epiphany-libre/epiphany.install +++ /dev/null @@ -1,13 +0,0 @@ -post_install() { - glib-compile-schemas /usr/share/glib-2.0/schemas - update-desktop-database -q - gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor -} - -post_upgrade() { - post_install -} - -post_remove() { - post_install -} |