# Contributor: Natanael Copa # Maintainer: Francesco Colista pkgname=nghttp2 pkgver=1.28.0 pkgrel=0 pkgdesc="Experimental HTTP/2 client, server and proxy" url="https://nghttp2.org/" arch="all" license="MIT" makedepends="libev-dev libressl-dev zlib-dev c-ares-dev" subpackages="$pkgname-dev $pkgname-doc $pkgname-libs" source="https://github.com/tatsuhiro-t/$pkgname/releases/download/v$pkgver/nghttp2-$pkgver.tar.xz" builddir="$srcdir"/$pkgname-$pkgver check() { cd "$builddir" make check } build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var \ --disable-static \ --without-libxml2 \ --without-spdylay \ --without-neverbleed \ --without-jemalloc \ --disable-python-bindings \ --enable-app make } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="c49d4e02ec8e894e01aff0b3573e5ce6a33e37ddbd777f6363a2890681a2d09d9e29794c7a6aaf20dd094b4b6da4b535f3e81ac58ef4164b1f8cca9e0da26ee9 nghttp2-1.28.0.tar.xz"