1 # Maintainer: Alexander F. Rødseth <xyproto@archlinux.org>
2 # Contributor: Brad Fanella <bradfanella@archlinux.us>
3 # Contributor: Paulo Matias <matiasΘarchlinux-br·org>
4 # Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
9 pkgdesc='Library for building efficient parsers'
11 url='https://www.netsurf-browser.org/projects/libparserutils/'
13 makedepends=('netsurf-buildsystem')
14 source=("https://download.netsurf-browser.org/libs/releases/$pkgname-$pkgver-src.tar.gz")
15 sha256sums=('322bae61b30ccede3e305bf6eae2414920649775bc5ff1d1b688012a3c4947d8')
19 sed 's:_BSD_SOURCE:_DEFAULT_SOURCE:' -i Makefile
20 make INCLUDEDIR=include LIBDIR=lib PREFIX=/usr COMPONENT_TYPE=lib-shared
25 make install INCLUDEDIR=include LIBDIR=lib PREFIX=/usr DESTDIR="$pkgdir" \
26 COMPONENT_TYPE=lib-shared
27 install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
30 # getver: source.netsurf-browser.org/libparserutils.git/plain/Makefile