summaryrefslogtreecommitdiff
path: root/libre/netsurf/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/netsurf/PKGBUILD')
-rw-r--r--libre/netsurf/PKGBUILD14
1 files changed, 9 insertions, 5 deletions
diff --git a/libre/netsurf/PKGBUILD b/libre/netsurf/PKGBUILD
index d9ab5917f..2d2f50eca 100644
--- a/libre/netsurf/PKGBUILD
+++ b/libre/netsurf/PKGBUILD
@@ -6,16 +6,16 @@
# Maintainer: André Silva <emulatorman@parabola.nu>
pkgname=netsurf
-pkgver=3.4
-pkgrel=2.parabola1
+pkgver=3.5
+pkgrel=3.parabola1
pkgdesc='Lightweight and fast web browser, without non-privacy search engines'
arch=('x86_64' 'i686' 'armv7h')
url='http://www.netsurf-browser.org/'
license=('MIT' 'GPL2')
replaces=(${pkgname}-libre)
conflicts=(${pkgname}-libre)
-depends=('libmng' 'librsvg' 'curl' 'lcms' 'desktop-file-utils' 'libnsbmp>=0.1.3' 'libnsgif>=0.1.3' 'libcss>=0.6.0-2' 'libdom>=0.3.0' 'libnsutils>=0.0.2' 'libutf8proc>=1.3.1-3' 'gtk3') # 'duktape'
-makedepends=('re2c' 'netsurf-buildsystem' 'perl-html-parser' 'nsgenbind' 'inetutils' 'libutf8proc>1.3.1-2' 'git' 'setconf' 'check' 'gtk3') # 'duktape'
+depends=('libmng' 'librsvg' 'curl' 'lcms' 'desktop-file-utils' 'libnsbmp>=0.1.3' 'libnsgif>=0.1.3' 'libcss>=0.6.0-2' 'libdom>=0.3.0' 'libnsutils>=0.0.2' 'libutf8proc>=1.3.1-3' 'gtk3' 'duktape')
+makedepends=('re2c' 'netsurf-buildsystem' 'perl-html-parser' 'nsgenbind>=0.3' 'inetutils' 'libutf8proc>1.3.1-2' 'git' 'setconf' 'check' 'gtk3' 'duktape')
install="$pkgname.install"
#source=("git://git.netsurf-browser.org/netsurf.git#commit=592ff0ef76199e4cc5089e7e76036ae259bcdcd2"
source=("git://git.netsurf-browser.org/netsurf.git#tag=release/$pkgver"
@@ -32,7 +32,7 @@ prepare() {
sed 's:UTF8PROC_CCC_VIRAMA:UTF8PROC_BIDI_CLASS_EN:' -i utils/idna.c
sed 's:utf8proc_normalise:utf8proc_reencode:' -i utils/idna.c
setconf Makefile.defaults NETSURF_UA_FORMAT_STRING '"NetSurf/%d.%d (%s; Parabola GNU/Linux-libre)"'
- setconf Makefile.defaults NETSURF_USE_DUKTAPE NO
+ setconf Makefile.defaults NETSURF_USE_DUKTAPE YES
# remove non-privacy search engines
sed -i '\|Google|d
@@ -124,6 +124,10 @@ package() {
# License
install -Dm644 COPYING \
"$pkgdir/usr/share/licenses/$pkgname/COPYING"
+
+ # Fix path
+ mv "$pkgdir/usr/share/netsurf/:./gtk/res/"* "$pkgdir/usr/share/netsurf/"
+ rmdir "$pkgdir/usr/share/netsurf/"{:./gtk/res,:./gtk,:.}
}
# vim:set ts=2 sw=2 et: