archrelease: copy trunk to community-any
[ArchLinux/community.git] / libparserutils / trunk / PKGBUILD
blobd737b90ca6734c20a89c2821cf1b626bc490272a
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>
6 pkgname=libparserutils
7 pkgver=0.2.4
8 pkgrel=5
9 pkgdesc='Library for building efficient parsers'
10 arch=(x86_64)
11 url='https://www.netsurf-browser.org/projects/libparserutils/'
12 license=(MIT)
13 makedepends=('netsurf-buildsystem')
14 source=("https://download.netsurf-browser.org/libs/releases/$pkgname-$pkgver-src.tar.gz")
15 sha256sums=('322bae61b30ccede3e305bf6eae2414920649775bc5ff1d1b688012a3c4947d8')
17 build() {
18   cd $pkgname-$pkgver
19   sed 's:_BSD_SOURCE:_DEFAULT_SOURCE:' -i Makefile
20   make INCLUDEDIR=include LIBDIR=lib PREFIX=/usr COMPONENT_TYPE=lib-shared
23 package() {
24   cd $pkgname-$pkgver
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
31 # vim: ts=2 sw=2 et: