[arch-commits] Commit in netsurf/repos/community-x86_64 (4 files)
Alexander Rødseth
arodseth at archlinux.org
Mon Jul 29 10:33:48 UTC 2019
Date: Monday, July 29, 2019 @ 10:33:48
Author: arodseth
Revision: 494578
archrelease: copy trunk to community-x86_64
Added:
netsurf/repos/community-x86_64/PKGBUILD
(from rev 494577, netsurf/trunk/PKGBUILD)
netsurf/repos/community-x86_64/netsurf.sh
(from rev 494577, netsurf/trunk/netsurf.sh)
Deleted:
netsurf/repos/community-x86_64/PKGBUILD
netsurf/repos/community-x86_64/netsurf.sh
------------+
PKGBUILD | 150 +++++++++++++++++++++++++++++------------------------------
netsurf.sh | 14 ++---
2 files changed, 82 insertions(+), 82 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-07-29 10:33:42 UTC (rev 494577)
+++ PKGBUILD 2019-07-29 10:33:48 UTC (rev 494578)
@@ -1,75 +0,0 @@
-# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
-# Contributor: Paulo Matias <matiasΘarchlinux-br·org>
-# Contributor: Georgij Kondratjev <smpuj at bk.ru>
-# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
-
-pkgname=netsurf
-pkgver=3.8
-pkgrel=2
-pkgdesc='Lightweight and fast web browser'
-arch=('x86_64')
-url='https://www.netsurf-browser.org/'
-license=('MIT' 'GPL2')
-depends=('curl' 'gtk3' 'libhubbub' 'libjpeg-turbo' 'libnsutils>=0.0.5' 'libutf8proc>=2.1.1'
- 'libwapcaplet')
-makedepends=('check' 'inetutils' 'libcss>=0.8.0' 'libdom>=0.3.3' 'libnsbmp>=0.1.5'
- 'libnsgif>=0.2.1' 'nsgenbind' 'perl-html-parser' 'setconf')
-source=("https://download.netsurf-browser.org/netsurf/releases/source-full/netsurf-all-$pkgver.tar.gz"
- 'netsurf.sh')
-sha256sums=('eb4864d4459d6f9958dd10a3301c272ea7f5df72667a7db0aad5bc5ae06c0e10'
- '1f1b495af685e611fe4d121c6d48ed63d6dfe0c69bd5637c41cd71b42429fa85')
-
-prepare() {
- cd "$pkgname-all-$pkgver/$pkgname"
-
- # Fix compilation issues
- sed -i 's:libutf8proc/::;s:UTF8PROC_CCC_VIRAMA:UTF8PROC_BIDI_CLASS_EN:' \
- utils/idna.c
-
- # Use "netsurf" as the name of the executable in /usr/bin
- setconf frontends/gtk/res/netsurf-gtk.desktop 'Exec=netsurf %u'
-
- # Set build configuration in Makefile.defaults
- for opt in \
- NETSURF_UA_FORMAT_STRING='"NetSurf/%d.%d (%s; Arch Linux)"' \
- NETSURF_USE_DUKTAPE=YES
- do
- setconf Makefile.defaults "$opt"
- done
-}
-
-build() {
- CFLAGS="$CFLAGS -w -Os -funroll-loops" make -C "$pkgname-all-$pkgver/$pkgname" \
- NETSURF_GTK_MAJOR=3 \
- TARGET=gtk \
- LIBDIR=lib \
- INCLUDEDIR=include \
- PREFIX=/usr
-}
-
-package() {
- make -C "$pkgname-all-$pkgver/$pkgname" \
- TARGET=gtk \
- NETSURF_GTK_MAJOR=3 \
- LIBDIR=lib \
- INCLUDEDIR=include \
- DESTDIR="$pkgdir" \
- PREFIX=/usr \
- install
-
- # Launch script
- install -Dm755 $pkgname.sh "$pkgdir/usr/bin/$pkgname"
-
- cd "$pkgname-all-$pkgver/$pkgname"
-
- # Desktop icon and shortcut
- install -Dm644 frontends/gtk/res/$pkgname.xpm \
- "$pkgdir/usr/share/pixmaps/$pkgname.xpm"
- install -Dm644 frontends/gtk/res/$pkgname-gtk.desktop \
- "$pkgdir/usr/share/applications/$pkgname.desktop"
-
- # License
- install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
-}
-
-# vim: ts=2 sw=2 et:
Copied: netsurf/repos/community-x86_64/PKGBUILD (from rev 494577, netsurf/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-07-29 10:33:48 UTC (rev 494578)
@@ -0,0 +1,75 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: Paulo Matias <matiasΘarchlinux-br·org>
+# Contributor: Georgij Kondratjev <smpuj at bk.ru>
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
+
+pkgname=netsurf
+pkgver=3.9
+pkgrel=1
+pkgdesc='Lightweight and fast web browser'
+arch=('x86_64')
+url='https://www.netsurf-browser.org/'
+license=(MIT GPL2)
+depends=(curl gtk3 'libhubbub=0.3.6' libjpeg-turbo 'libnsutils=0.0.5-4'
+ 'libutf8proc>=2.4.0' 'libwapcaplet>=0.4.2' 'libdom>=0.4.0')
+makedepends=(check inetutils 'libcss>=0.9.0' 'libnsbmp>=0.1.5'
+ 'libnsgif>=0.2.1' 'nsgenbind>=0.7' perl-html-parser setconf vim)
+source=("https://download.netsurf-browser.org/netsurf/releases/source-full/netsurf-all-$pkgver.tar.gz"
+ netsurf.sh)
+sha256sums=('11e384eaf47e65c186da5001f1055a02f2d72ff17b50f403b8392546a2cf65ff'
+ '1f1b495af685e611fe4d121c6d48ed63d6dfe0c69bd5637c41cd71b42429fa85')
+
+prepare() {
+ cd "$pkgname-all-$pkgver/$pkgname"
+
+ # Fix compilation issues
+ sed -i 's:libutf8proc/::;s:UTF8PROC_CCC_VIRAMA:UTF8PROC_BIDI_CLASS_EN:' \
+ utils/idna.c
+
+ # Use "netsurf" as the name of the executable in /usr/bin
+ setconf frontends/gtk/res/netsurf-gtk.desktop 'Exec=netsurf %u'
+
+ # Set build configuration in Makefile.defaults
+ for opt in \
+ NETSURF_UA_FORMAT_STRING='"NetSurf/%d.%d (%s; Arch Linux)"' \
+ NETSURF_USE_DUKTAPE=YES
+ do
+ setconf Makefile.defaults "$opt"
+ done
+}
+
+build() {
+ CFLAGS="$CFLAGS -w -Os -funroll-loops" make -C "$pkgname-all-$pkgver/$pkgname" \
+ NETSURF_GTK_MAJOR=3 \
+ TARGET=gtk \
+ LIBDIR=lib \
+ INCLUDEDIR=include \
+ PREFIX=/usr
+}
+
+package() {
+ make -C "$pkgname-all-$pkgver/$pkgname" \
+ TARGET=gtk \
+ NETSURF_GTK_MAJOR=3 \
+ LIBDIR=lib \
+ INCLUDEDIR=include \
+ DESTDIR="$pkgdir" \
+ PREFIX=/usr \
+ install
+
+ # Launch script
+ install -Dm755 $pkgname.sh "$pkgdir/usr/bin/$pkgname"
+
+ cd "$pkgname-all-$pkgver/$pkgname"
+
+ # Desktop icon and shortcut
+ install -Dm644 frontends/gtk/res/$pkgname.xpm \
+ "$pkgdir/usr/share/pixmaps/$pkgname.xpm"
+ install -Dm644 frontends/gtk/res/$pkgname-gtk.desktop \
+ "$pkgdir/usr/share/applications/$pkgname.desktop"
+
+ # License
+ install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}
+
+# vim: ts=2 sw=2 et:
Deleted: netsurf.sh
===================================================================
--- netsurf.sh 2019-07-29 10:33:42 UTC (rev 494577)
+++ netsurf.sh 2019-07-29 10:33:48 UTC (rev 494578)
@@ -1,7 +0,0 @@
-#!/bin/sh
-shortlang=`echo $LANG | cut -b1-2`
-if [ ! -d "/usr/share/netsurf/$shortlang" ]; then
- # Use /usr/share/netsurf/en
- export LANG=en_US.UTF-8
-fi
-/usr/bin/netsurf-gtk3 "$@"
Copied: netsurf/repos/community-x86_64/netsurf.sh (from rev 494577, netsurf/trunk/netsurf.sh)
===================================================================
--- netsurf.sh (rev 0)
+++ netsurf.sh 2019-07-29 10:33:48 UTC (rev 494578)
@@ -0,0 +1,7 @@
+#!/bin/sh
+shortlang=`echo $LANG | cut -b1-2`
+if [ ! -d "/usr/share/netsurf/$shortlang" ]; then
+ # Use /usr/share/netsurf/en
+ export LANG=en_US.UTF-8
+fi
+/usr/bin/netsurf-gtk3 "$@"
More information about the arch-commits
mailing list