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