# Contributor: Natanael Copa # Maintainer: Francesco Colista pkgname=nghttp2 pkgver=1.24.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="99c1a634f6b911a2256039bad42642d35120fa826c6fb3b9aebde9a1d1a227a4c3926f481cd8981f7cf4ac78617e5885faaeff87b35250d8cf54ebd6465e12a0 nghttp2-1.24.0.tar.xz"