summaryrefslogtreecommitdiff
path: root/libre/netsurf/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/netsurf/PKGBUILD')
-rw-r--r--libre/netsurf/PKGBUILD16
1 files changed, 9 insertions, 7 deletions
diff --git a/libre/netsurf/PKGBUILD b/libre/netsurf/PKGBUILD
index fd1f3be50..97ba868d8 100644
--- a/libre/netsurf/PKGBUILD
+++ b/libre/netsurf/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 129734 2015-03-22 00:55:20Z arodseth $
+# $Id: PKGBUILD 154682 2015-12-28 20:58:40Z heftig $
# Maintainer (Arch): Alexander Rødseth <rodseth@gmail.com>
# Contributor (Arch): Paulo Matias <matiasΘarchlinux-br·org>
# Contributor (Arch): Georgij Kondratjev <smpuj@bk.ru>
@@ -7,7 +7,7 @@
pkgname=netsurf
pkgver=3.3
-pkgrel=1.parabola2
+pkgrel=2.parabola1
pkgdesc='Lightweight and fast web browser, without non-privacy search engines'
arch=('x86_64' 'i686' 'armv7h')
url='http://www.netsurf-browser.org/'
@@ -27,6 +27,13 @@ sha256sums=('23f92a0940f577b9605f2e54786fea3521680d32d6c00f2a3db1eae3f29e3686'
prepare() {
cd "$pkgname-$pkgver"
+ sed 's:_BSD_SOURCE:_DEFAULT_SOURCE:' -i gtk/Makefile.target
+ sed 's:netsurf-gtk:netsurf:' -i gtk/res/netsurf-gtk.desktop
+ sed 's:libutf8proc/::' -i utils/idna.c
+ sed 's:UTF8PROC_CCC_VIRAMA:UTF8PROC_BIDI_CLASS_EN:' -i utils/idna.c
+ sed 's:utf8proc_normalise:utf8proc_reencode:' -i utils/idna.c
+ # There are several errors. Asking netsurf upstream to look at it.
+
if [ "$CARCH" == "armv7h" ]; then
patch -Np1 -i "$srcdir/netsurf-remove_webp.patch"
fi
@@ -95,11 +102,6 @@ prepare() {
\!NetSurf/Resources/ja/welcome.html\,faf
sed -i 's|nsgenbind -g|nsgenbind|
' javascript/Makefile
-
- cd "$srcdir/$pkgname-$pkgver/gtk"
-
- sed 's:_BSD_SOURCE:_DEFAULT_SOURCE:' -i Makefile.target
- sed 's:netsurf-gtk:netsurf:' -i res/netsurf-gtk.desktop
}
build() {