netsurf: update to 3.6.

This commit is contained in:
Juan RP 2016-11-22 09:35:43 +01:00
parent 50625fb9f3
commit bb9ff89715
2 changed files with 6 additions and 7 deletions

View file

@ -1,8 +1,8 @@
#!/bin/sh
shortname=$(echo $LANG | cut -b1-2)
if [ -d /usr/share/netsurf/$shortname ]; then
/usr/bin/netsurf.elf "$@"
/usr/bin/netsurf-gtk "$@"
else
LANG=en_US /usr/bin/netsurf.elf "$@"
LANG=en_US /usr/bin/netsurf-gtk "$@"
fi
exit $?

View file

@ -1,10 +1,10 @@
# Template build file for 'netsurf'.
pkgname=netsurf
version=3.5
revision=3
version=3.6
revision=1
hostmakedepends="pkg-config gperf flex nsgenbind gdk-pixbuf-devel perl-HTML-Parser glib-devel"
makedepends="
libmng-devel libxml2-devel libcurl-devel lcms-devel libwebp-devel
libidn-devel libmng-devel libxml2-devel libcurl-devel lcms-devel libwebp-devel
libcss-devel libnsbmp-devel libnsgif-devel libutf8proc-devel
libnsutils-devel libdom-devel gtk+-devel"
depends="desktop-file-utils shared-mime-info"
@ -13,7 +13,7 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2, MIT"
homepage="http://www.netsurf-browser.org"
distfiles="http://download.netsurf-browser.org/netsurf/releases/source/${pkgname}-${version}-src.tar.gz"
checksum=98f3a66d3ae24ab34becdab2ea690f8f20c0f49f86723f133ede6df57e451dcc
checksum=59ae4b50eff9e2a00a0a9742ef546c7de17223139c485af9644f195340979a9c
do_build() {
make ${makejobs} \
@ -42,6 +42,5 @@ do_install() {
vlicense COPYING
# Install wrapper for proper localization.
mv ${DESTDIR}/usr/bin/netsurf ${DESTDIR}/usr/bin/netsurf.elf
vbin ${FILESDIR}/netsurf.sh netsurf
}