diff options
Diffstat (limited to 'libre/netsurf/PKGBUILD')
-rw-r--r-- | libre/netsurf/PKGBUILD | 19 |
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() { |