# Contributor: Natanael Copa # Maintainer: Francesco Colista pkgname=nghttp2 pkgver=1.14.0 pkgrel=0 pkgdesc="Experimental HTTP/2 client, server and proxy" url="https://nghttp2.org/" arch="all" license="MIT" depends="" makedepends="python2-dev libev-dev openssl-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="e9f313abcc9d8e29093f196aeb4aaa2c nghttp2-1.14.0.tar.xz" sha256sums="938f93a0b0c31fd70cd07c96506b8c4ad040ef98ad3f204bf77ec4476685942f nghttp2-1.14.0.tar.xz" sha512sums="4f1f1ed6e453f1cb6461452950e534f6b189f3a7173129726dc497089b86f5b137be975e57d0533d6b5442be1f28da8ac58448fb5b365f60ca94592d9c6255fb nghttp2-1.14.0.tar.xz"