# Maintainer: Anatol Pomozov # Contributor: Zhuoyun Wei pkgname=libnghttp2 _tag='e15396731a7f627581db33ef607931a6fc208ec5' # git rev-parse v${pkgver} pkgver=1.54.0 pkgrel=1 pkgdesc='Framing layer of HTTP/2 is implemented as a reusable C library' arch=('x86_64') url='https://nghttp2.org/' license=('MIT') depends=('glibc') makedepends=('git') conflicts=('nghttp2<1.20.0-2') validpgpkeys=('F4F3B91474D1EB29889BD0EF7E8403D5D673C366') # Tatsuhiro Tsujikawa source=("git+https://github.com/nghttp2/nghttp2.git#tag=${_tag}?signed") sha512sums=('SKIP') prepare() { cd nghttp2 autoreconf -i } build() { cd nghttp2 ./configure \ --prefix=/usr \ --disable-examples \ --disable-python-bindings \ --enable-lib-only make } check() { cd nghttp2 make check } package() { cd nghttp2/lib make DESTDIR="$pkgdir" install install -Dm644 ../COPYING "$pkgdir/usr/share/licenses/libnghttp2/COPYING" }