[arch-commits] Commit in libparserutils/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 16:39:14 UTC 2020


    Date: Tuesday, July 7, 2020 @ 16:39:13
  Author: felixonmars
Revision: 659344

archrelease: copy trunk to community-staging-x86_64

Added:
  libparserutils/repos/community-staging-x86_64/
  libparserutils/repos/community-staging-x86_64/PKGBUILD
    (from rev 659343, libparserutils/trunk/PKGBUILD)

----------+
 PKGBUILD |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Copied: libparserutils/repos/community-staging-x86_64/PKGBUILD (from rev 659343, libparserutils/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 16:39:13 UTC (rev 659344)
@@ -0,0 +1,31 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: Brad Fanella <bradfanella at archlinux.us>
+# Contributor: Paulo Matias <matiasΘarchlinux-br·org>
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
+
+pkgname=libparserutils
+pkgver=0.2.4
+pkgrel=5
+pkgdesc='Library for building efficient parsers'
+arch=(x86_64)
+url='https://www.netsurf-browser.org/projects/libparserutils/'
+license=(MIT)
+makedepends=('netsurf-buildsystem')
+source=("https://download.netsurf-browser.org/libs/releases/$pkgname-$pkgver-src.tar.gz")
+sha256sums=('322bae61b30ccede3e305bf6eae2414920649775bc5ff1d1b688012a3c4947d8')
+
+build() {
+  cd $pkgname-$pkgver
+  sed 's:_BSD_SOURCE:_DEFAULT_SOURCE:' -i Makefile
+  make INCLUDEDIR=include LIBDIR=lib PREFIX=/usr COMPONENT_TYPE=lib-shared
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make install INCLUDEDIR=include LIBDIR=lib PREFIX=/usr DESTDIR="$pkgdir" \
+    COMPONENT_TYPE=lib-shared
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}
+
+# getver: source.netsurf-browser.org/libparserutils.git/plain/Makefile
+# vim: ts=2 sw=2 et:


More information about the arch-commits mailing list