summaryrefslogtreecommitdiff
path: root/libre/netsurf/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-11-29 15:40:12 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-11-29 15:40:12 -0300
commit421ffc18d1c078135c2e5aea18dc60fb257064c7 (patch)
tree0882d06c85808d766e6c38e3a257d5aeb18ad341 /libre/netsurf/PKGBUILD
parentd094b54400b2944a8904b706a26d2860700f4144 (diff)
downloadabslibre-421ffc18d1c078135c2e5aea18dc60fb257064c7.tar.gz
abslibre-421ffc18d1c078135c2e5aea18dc60fb257064c7.tar.bz2
abslibre-421ffc18d1c078135c2e5aea18dc60fb257064c7.zip
netsurf: minor fix
Diffstat (limited to 'libre/netsurf/PKGBUILD')
-rw-r--r--libre/netsurf/PKGBUILD19
1 files changed, 10 insertions, 9 deletions
diff --git a/libre/netsurf/PKGBUILD b/libre/netsurf/PKGBUILD
index bb14d364b..b96cfc417 100644
--- a/libre/netsurf/PKGBUILD
+++ b/libre/netsurf/PKGBUILD
@@ -22,9 +22,11 @@ makedepends=('re2c' 'netsurf-buildsystem' 'perl-html-parser' 'nsgenbind>=0.3'
'inetutils' 'libutf8proc>1.3.1' 'git' 'setconf' 'check' 'gtk3'
'duktape')
source=("git://git.netsurf-browser.org/netsurf.git#tag=release/$pkgver"
- netsurf.sh)
+ netsurf.sh
+ remove_nonprivacy_options.patch)
sha256sums=('SKIP'
- 'f2e2f61f1864da57cafa74ffdbefac2f9e1d55d9627e82ef923d4931684c5c49')
+ 'f2e2f61f1864da57cafa74ffdbefac2f9e1d55d9627e82ef923d4931684c5c49'
+ '61bec340c47a089b1b5c33d3ae330a340999a1e40be7fc8768fa572c6ca3b617')
prepare() {
cd "$pkgname"
@@ -55,15 +57,12 @@ prepare() {
\|Ebay|d
\|IMDB|d
\|ESPN|d
- \|Aminet|d
- \|OS4Depot|d
s|DuckDuckGo|DuckDuckGo HTML|
s|duckduckgo[.]com|duckduckgo.com/html|
s|duckduckgo[.]com/html/favicon.ico|duckduckgo.com/favicon.ico|
s|seeks-project.info|seeks.fr|g
- ' gtk/res/SearchEngines \
- \!NetSurf/Resources/SearchEngines \
- amiga/resources/SearchEngines
+ ' \!NetSurf/Resources/SearchEngines \
+ resources/SearchEngines
sed -i '\|readable name such as| s|google|duckduckgo|
\|readable name such as| s|yahoo|seeks|
\|host address such as www[.]google[.]com| s|google[.]com|duckduckgo.com/html|
@@ -99,8 +98,10 @@ prepare() {
\!NetSurf/Resources/en/welcome.html\,faf \
\!NetSurf/Resources/it/welcome.html\,faf \
\!NetSurf/Resources/ja/welcome.html\,faf
- sed -i 's|nsgenbind -g|nsgenbind|
- ' javascript/Makefile
+ sed -i 's|Google|DuckDuckGo HTML|
+ ' frontends/amiga/dist/NetSurf.guide
+ # patch and remove anything that's left
+ patch -p1 -i ../remove_nonprivacy_options.patch
}
build() {