summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-11-01 01:14:52 -0700
committerroot <root@rshg054.dnsready.net>2013-11-01 01:14:52 -0700
commit22f873a6e3ac2c585a28a1ab2561eaea9765cdc6 (patch)
tree621d351b79cbea285d91df33b6fa4f041696cf56 /libre
parentb2a6f1b28b7fa31088cab9a90b0f5ab97948534d (diff)
Fri Nov 1 01:13:45 PDT 2013
Diffstat (limited to 'libre')
-rw-r--r--libre/netsurf-libre/PKGBUILD12
-rw-r--r--libre/netsurf-libre/netsurf.sh7
-rw-r--r--libre/sdl-libre/PKGBUILD6
3 files changed, 18 insertions, 7 deletions
diff --git a/libre/netsurf-libre/PKGBUILD b/libre/netsurf-libre/PKGBUILD
index d3c6463a2..bcb40c614 100644
--- a/libre/netsurf-libre/PKGBUILD
+++ b/libre/netsurf-libre/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 95886 2013-08-18 11:31:23Z arodseth $
+# $Id: PKGBUILD 100033 2013-10-31 10:58:22Z 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=4
+pkgrel=5
pkgdesc='Lightweight and fast web browser, without non-privacy search providers'
arch=('x86_64' 'i686' 'mips64el')
url='http://www.netsurf-browser.org/'
@@ -20,9 +20,11 @@ depends=('gtk2' 'libmng' 'curl' 'librsvg' 'desktop-file-utils' 'libnsbmp' 'libns
makedepends=('js' 're2c' 'gendesk' 'netsurf-buildsystem' 'libglade' 'addinclude')
install="$_pkgname.install"
source=("netsurf.png::http://ubuntu.allmyapps.com/data/n/e/netsurf-netsurf-web-browser/icon_48x48_netsurf.png"
- "http://download.$_pkgname-browser.org/$_pkgname/releases/source/$_pkgname-$pkgver-src.tar.gz")
+ "http://download.$_pkgname-browser.org/$_pkgname/releases/source/$_pkgname-$pkgver-src.tar.gz"
+ 'netsurf.sh')
sha256sums=('f0dbcc5d80bf03d706aa8b28a322aa7f169a40813848c2d1505691f6e2c7ef00'
- '7c6a48d3cc3e9a3e3a51b532ddf60f7697e97bf8b61a6d3b2ced1a2e89fbccc6')
+ '7c6a48d3cc3e9a3e3a51b532ddf60f7697e97bf8b61a6d3b2ced1a2e89fbccc6'
+ '3efaf14b95c9aeb83caac488135bd5b6040d2ede382caa5589ff7ebd2bd506cc')
prepare() {
cd "$_pkgname-$pkgver"
@@ -115,6 +117,8 @@ package() {
cd "$_pkgname-$pkgver"
make install PREFIX=/usr DESTDIR="$pkgdir"
+ mv "$pkgdir/usr/bin/$_pkgname" "$pkgdir/usr/bin/$_pkgname.elf"
+ install -Dm755 "../$_pkgname.sh" "$pkgdir/usr/bin/$_pkgname"
install -Dm644 "../$_pkgname.png" "$pkgdir/usr/share/pixmaps/$_pkgname.png"
install -Dm644 "$_pkgname.desktop" \
"$pkgdir/usr/share/applications/$_pkgname.desktop"
diff --git a/libre/netsurf-libre/netsurf.sh b/libre/netsurf-libre/netsurf.sh
new file mode 100644
index 000000000..49b1e161e
--- /dev/null
+++ b/libre/netsurf-libre/netsurf.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+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 "$@"
+fi
diff --git a/libre/sdl-libre/PKGBUILD b/libre/sdl-libre/PKGBUILD
index e16042e95..e745c3dbe 100644
--- a/libre/sdl-libre/PKGBUILD
+++ b/libre/sdl-libre/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 197193 2013-10-23 17:24:50Z heftig $
+# $Id: PKGBUILD 198628 2013-10-31 13:07:39Z heftig $
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Contributor: Allan McRae <allan@archlinux.org>
# Contributor: dorphell <dorphell@archlinux.org>
@@ -8,7 +8,7 @@
pkgname=sdl-libre
pkgver=1.2.15
-pkgrel=4
+pkgrel=5
pkgdesc="A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard"
arch=('i686' 'x86_64')
url="http://www.libsdl.org"
@@ -20,7 +20,7 @@ depends=('glibc' 'libxext' 'libxrender' 'libx11')
makedepends=('alsa-lib' 'mesa' 'libpulse' 'glu')
optdepends=('alsa-lib: ALSA audio driver'
'libpulse: PulseAudio audio driver')
-options=('!libtool')
+options=('staticlibs')
source=(http://www.libsdl.org/release/SDL-${pkgver}.tar.gz
sdl-1.2.14-fix-mouse-clicking.patch
sdl-1.2.14-disable-mmx.patch