# Contributor: Natanael Copa # Maintainer: Francesco Colista pkgname=nghttp2 pkgver=1.18.0 pkgrel=1 pkgdesc="Experimental HTTP/2 client, server and proxy" url="https://nghttp2.org/" arch="all" license="MIT" depends="" makedepends="libev-dev libressl-dev zlib-dev c-ares-dev" install="" 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 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 \ || return 1 make || return 1 } package() { cd "$builddir" make DESTDIR="$pkgdir" install || return 1 } md5sums="5f00c3b184d37cb38012fda88e43a941 nghttp2-1.18.0.tar.xz" sha256sums="5e5620e103f9239c0758e0fbfcf9bc04744794c1ce7a415583fbd4c2671a4499 nghttp2-1.18.0.tar.xz" sha512sums="97916e9da69c5465f3760dad6f1112fcee54668fa628b2c050df59e2d71ec419ec366af41cca15c60b1d6fe155b18aed635b685dc6e894613087871157136f3d nghttp2-1.18.0.tar.xz"