# Contributor: Natanael Copa # Maintainer: Francesco Colista pkgname=nghttp2 pkgver=1.31.1 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 autoconf automake libtool" subpackages="$pkgname-dev $pkgname-doc $pkgname-libs" source="https://github.com/tatsuhiro-t/$pkgname/releases/download/v$pkgver/nghttp2-$pkgver.tar.xz libressl-2.7.patch" builddir="$srcdir"/$pkgname-$pkgver check() { cd "$builddir" make check } build() { cd "$builddir" autoreconf -vif ./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="e0f5b345b6d794b21fa04bc0c7125f24a877074538ad746451d4a293eb22f1afb9e0e619c69b84f0fc2142a925044a19976af4cffb8426358e95e7d9715d5a4f nghttp2-1.31.1.tar.xz b6d2fea4d76253cc7e8a4387f77fbde8f2b7aec09ec7c48ccd7c499571786244c29ec917714b37eb458404351b179bb0af0c62c150450114b59f47d5c44f8dd7 libressl-2.7.patch"