summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-02-09 20:35:46 -0200
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-02-09 20:35:46 -0200
commitff634ed6c0a2a32b2b10c8500a98cd0117d1f41d (patch)
tree998b571a36dd0043e90a31f2b8730fc583a4491b
parent5a6cd8bda42916cf662007e75b8f07f80277c481 (diff)
netsurf-libre-3.0-7: possible fix for FS#38688 => https://bugs.archlinux.org/task/38688
-rw-r--r--libre/netsurf-libre/PKGBUILD12
-rw-r--r--libre/netsurf-libre/netsurf.install1
-rw-r--r--libre/netsurf-libre/netsurf.sh2
3 files changed, 6 insertions, 9 deletions
diff --git a/libre/netsurf-libre/PKGBUILD b/libre/netsurf-libre/PKGBUILD
index f3ade8253..6d028e732 100644
--- a/libre/netsurf-libre/PKGBUILD
+++ b/libre/netsurf-libre/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 105206 2014-02-02 19:14:41Z heftig $
+# $Id: PKGBUILD 105500 2014-02-09 11:01:04Z arodseth $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Paulo Matias <matiasΘarchlinux-br·org>
# Contributor: Georgij Kondratjev <smpuj@bk.ru>
@@ -8,7 +8,7 @@
_pkgname=netsurf
pkgname=netsurf-libre
pkgver=3.0
-pkgrel=6
+pkgrel=7
pkgdesc='Lightweight and fast web browser, without non-privacy search providers'
arch=('x86_64' 'i686' 'mips64el')
url='http://www.netsurf-browser.org/'
@@ -24,7 +24,7 @@ source=("netsurf.png::http://ubuntu.allmyapps.com/data/n/e/netsurf-netsurf-web-b
'netsurf.sh')
sha256sums=('f0dbcc5d80bf03d706aa8b28a322aa7f169a40813848c2d1505691f6e2c7ef00'
'7c6a48d3cc3e9a3e3a51b532ddf60f7697e97bf8b61a6d3b2ced1a2e89fbccc6'
- '3efaf14b95c9aeb83caac488135bd5b6040d2ede382caa5589ff7ebd2bd506cc')
+ '7aef20cc7b2e2e7225237f2f94b5a0074caeb8ec07075c58429b0345ca566f8d')
prepare() {
cd "$_pkgname-$pkgver"
@@ -96,7 +96,7 @@ prepare() {
addinclude image/mng.c stdio
addinclude image/png.c stdio
- gendesk --pkgname "$_pkgname" --pkgdesc "$pkgdesc" --exec 'netsurf %U' \
+ gendesk -f --pkgname "$_pkgname" --pkgdesc "$pkgdesc" --exec 'netsurf %U' \
--genericname 'Web Browser' --comment 'Lightweight web browser' \
--mimetypes 'text/html;application/xhtml+xml;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/geo'
}
@@ -108,9 +108,7 @@ build() {
PREFIX=/usr \
TARGET=gtk \
NETSURF_USE_WEBP=YES \
- NETSURF_USE_VIDEO=NO \
- NETSURF_USE_MOZILLA_JS=YES \
- NETSURF_USE_HARU_PDF=NO
+ NETSURF_USE_VIDEO=NO
}
package() {
diff --git a/libre/netsurf-libre/netsurf.install b/libre/netsurf-libre/netsurf.install
index 98f3ea190..ad97d7bab 100644
--- a/libre/netsurf-libre/netsurf.install
+++ b/libre/netsurf-libre/netsurf.install
@@ -1,5 +1,4 @@
post_upgrade() {
- #gtk-update-icon-cache -q -f -t /usr/share/icons/hicolor
update-desktop-database -q
}
diff --git a/libre/netsurf-libre/netsurf.sh b/libre/netsurf-libre/netsurf.sh
index 49b1e161e..b74f388af 100644
--- a/libre/netsurf-libre/netsurf.sh
+++ b/libre/netsurf-libre/netsurf.sh
@@ -3,5 +3,5 @@ shortname=`echo $LANG | cut -b1-2`
if [[ -d /usr/share/netsurf/$shortname ]]; then
/usr/bin/netsurf.elf "$@"
else
- LANG=en_US /usr/bin/netsurf.elf "$@"
+ LANG=en /usr/bin/netsurf.elf "$@"
fi