# Contributor: Natanael Copa # Maintainer: Francesco Colista pkgname=nghttp2 pkgver=1.15.0 pkgrel=1 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="3ff131352e4076d78b69a7219d545181 nghttp2-1.15.0.tar.xz" sha256sums="317afbef79eec624577d006ea7111cf978d2c88e999a6f336c83b99f924b5e4a nghttp2-1.15.0.tar.xz" sha512sums="2ba41ffb0fa3911e3685ea4811eb7e03b9b0f3365791a9f00f379454531f2617d01bf80d3e1f3bc6f615259a9da0d277641d1a226333158dac2467ec2fc58619 nghttp2-1.15.0.tar.xz"