# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=http-parser
pkgver=2.9.2
pkgrel=0
pkgdesc="Library for parsing HTTP messages in C"
url=" "
arch="all"
license="MIT"
depends=""
depends_dev=""
makedepends="$depends_dev"
subpackages="$pkgname-dev"
source="http-parser-$pkgver.tar.gz::https://github.com/nodejs/http-parser/archive/v$pkgver.tar.gz"

build() {
	make
}

check() {
	true  # tested as part of build.
}

package() {
	make PREFIX=/usr DESTDIR="$pkgdir" install
}

sha512sums="fe21ba46c9297b55a6382497b689da2af88999a9a5716ffef0731057ce1bb053056e4f20147284c78338e48ed1a793a0270fe0edfe3f4b589926e3ede603d023  http-parser-2.9.2.tar.gz"