[arch-commits] Commit in netsurf/repos/community-x86_64 (4 files)
Alexander Rødseth
arodseth at gemini.archlinux.org
Wed Aug 24 19:50:13 UTC 2022
Date: Wednesday, August 24, 2022 @ 19:50:13
Author: arodseth
Revision: 1276888
archrelease: copy trunk to community-x86_64
Added:
netsurf/repos/community-x86_64/PKGBUILD
(from rev 1276887, netsurf/trunk/PKGBUILD)
netsurf/repos/community-x86_64/netsurf.sh
(from rev 1276887, netsurf/trunk/netsurf.sh)
Deleted:
netsurf/repos/community-x86_64/PKGBUILD
netsurf/repos/community-x86_64/netsurf.sh
------------+
PKGBUILD | 113 +++++++++++++++++++++++++++++------------------------------
netsurf.sh | 8 ++--
2 files changed, 61 insertions(+), 60 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-24 19:50:07 UTC (rev 1276887)
+++ PKGBUILD 2022-08-24 19:50:13 UTC (rev 1276888)
@@ -1,56 +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.10
-pkgrel=4
-pkgdesc='Lightweight and fast web browser'
-arch=(x86_64)
-url='https://www.netsurf-browser.org/'
-license=(MIT GPL2)
-depends=(bash curl gtk3 'libhubbub=0.3.7' libjpeg-turbo 'libnsutils=0.1.0'
- 'libutf8proc>=2.6.0' 'libwapcaplet>=0.4.3' 'libdom>=0.4.1' libwebp)
-# vim is needed only for xxd when building
-makedepends=(check inetutils 'libcss>=0.9.1' 'libnsbmp>=0.1.6'
- 'libnsgif>=0.2.1' 'nsgenbind>=0.8' perl-html-parser setconf vim)
-source=("https://download.netsurf-browser.org/netsurf/releases/source-full/netsurf-all-$pkgver.tar.gz"
- netsurf.sh)
-b2sums=('7c33db550a99000fabc95a9d0e48b86189485076bbcf740d8ff865564ca243c1a66d65fc21c036790cd0d1426e7f8251a376fc8370e1530b75e3f171ddb22ce4'
- 'f0220a0c2c03d567434deeed20f821dc110947e16889aa78e12e3f468a431d2f721b9cff23bd6ed3545323f3ed975ea0941f0ee61c4b09938b8bfb99764f8bc8')
-
-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'
-}
-
-build() {
- CFLAGS="$CFLAGS -Os -funroll-loops -w" \
- make -C $pkgname-all-$pkgver/$pkgname \
- INCLUDEDIR=include \
- LIBDIR=lib \
- NETSURF_UA_FORMAT_STRING='"NetSurf/%d.%d (%s; Arch Linux)"' \
- PREFIX=/usr \
- TARGET=gtk3
-}
-
-package() {
- make -C $pkgname-all-$pkgver/$pkgname \
- DESTDIR="$pkgdir" \
- INCLUDEDIR=include \
- LIBDIR=lib \
- PREFIX=/usr \
- TARGET=gtk3 \
- install
- install -Dm755 $pkgname.sh "$pkgdir/usr/bin/$pkgname"
- cd $pkgname-all-$pkgver/$pkgname
- 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"
- install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
-}
Copied: netsurf/repos/community-x86_64/PKGBUILD (from rev 1276887, netsurf/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-08-24 19:50:13 UTC (rev 1276888)
@@ -0,0 +1,57 @@
+# 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.10
+pkgrel=5
+pkgdesc='Lightweight and fast web browser'
+arch=(x86_64)
+url='https://www.netsurf-browser.org/'
+license=(GPL2 MIT)
+depends=(curl gtk3 'libcss>=0.9.1' 'libdom>=0.4.1' 'libhubbub=0.3.7'
+ libjpeg-turbo 'libnsbmp>=0.1.6' 'libnsgif>=0.2.1' 'libnsutils=0.1.0'
+ 'libutf8proc>=2.6.0' 'libwapcaplet>=0.4.3' libwebp)
+# vim is needed only for xxd when building
+makedepends=(check inetutils 'nsgenbind>=0.8' perl-html-parser setconf vim)
+source=("https://download.netsurf-browser.org/netsurf/releases/source-full/netsurf-all-$pkgver.tar.gz"
+ netsurf.sh)
+b2sums=('7c33db550a99000fabc95a9d0e48b86189485076bbcf740d8ff865564ca243c1a66d65fc21c036790cd0d1426e7f8251a376fc8370e1530b75e3f171ddb22ce4'
+ 'f0220a0c2c03d567434deeed20f821dc110947e16889aa78e12e3f468a431d2f721b9cff23bd6ed3545323f3ed975ea0941f0ee61c4b09938b8bfb99764f8bc8')
+
+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'
+}
+
+build() {
+ export CFLAGS+=' -Os -funroll-loops -w'
+ make -C $pkgname-all-$pkgver/$pkgname \
+ INCLUDEDIR=include \
+ LIBDIR=lib \
+ NETSURF_UA_FORMAT_STRING='"NetSurf/%d.%d (%s; Arch Linux)"' \
+ PREFIX=/usr \
+ TARGET=gtk3
+}
+
+package() {
+ make -C $pkgname-all-$pkgver/$pkgname \
+ DESTDIR="$pkgdir" \
+ INCLUDEDIR=include \
+ LIBDIR=lib \
+ PREFIX=/usr \
+ TARGET=gtk3 \
+ install
+
+ install -Dm755 $pkgname.sh "$pkgdir/usr/bin/$pkgname"
+ cd $pkgname-all-$pkgver/$pkgname
+ 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"
+ install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}
Deleted: netsurf.sh
===================================================================
--- netsurf.sh 2022-08-24 19:50:07 UTC (rev 1276887)
+++ netsurf.sh 2022-08-24 19:50:13 UTC (rev 1276888)
@@ -1,4 +0,0 @@
-#!/bin/bash
-# Use English if a directory for the current language does not exist
-test -d "/usr/share/netsurf/${LANG:0:2}" || export LANG=en_US.UTF-8
-/usr/bin/netsurf-gtk3 "$@"
Copied: netsurf/repos/community-x86_64/netsurf.sh (from rev 1276887, netsurf/trunk/netsurf.sh)
===================================================================
--- netsurf.sh (rev 0)
+++ netsurf.sh 2022-08-24 19:50:13 UTC (rev 1276888)
@@ -0,0 +1,4 @@
+#!/bin/bash
+# Use English if a directory for the current language does not exist
+test -d "/usr/share/netsurf/${LANG:0:2}" || export LANG=en_US.UTF-8
+/usr/bin/netsurf-gtk3 "$@"
More information about the arch-commits
mailing list