Date: Sunday, December 3, 2017 @ 22:39:20 Author: jgc Revision: 311584
archrelease: copy trunk to testing-x86_64 Added: libnghttp2/repos/testing-x86_64/ libnghttp2/repos/testing-x86_64/PKGBUILD (from rev 311583, libnghttp2/trunk/PKGBUILD) ----------+ PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) Copied: libnghttp2/repos/testing-x86_64/PKGBUILD (from rev 311583, libnghttp2/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2017-12-03 22:39:20 UTC (rev 311584) @@ -0,0 +1,40 @@ +# $Id: PKGBUILD 289632 2017-02-27 17:36:38Z anatolik $ +# Maintainer: Anatol Pomozov +# Contributor: Zhuoyun Wei <wzy...@wzyboy.org> + +pkgname=libnghttp2 +pkgver=1.28.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) +conflicts=('nghttp2<1.20.0-2') +source=(https://github.com/nghttp2/nghttp2/releases/download/v$pkgver/nghttp2-$pkgver.tar.xz) +sha256sums=('0d6c3f00614deca3935e42a27f6ad0ea87c31d8c1baa3a9c52755955c599fd8d') + +build() { + cd nghttp2-$pkgver + + autoreconf -i + ./configure \ + --prefix=/usr \ + --with-spdylay=no \ + --disable-examples \ + --disable-python-bindings \ + --enable-lib-only + make +} + +check() { + cd nghttp2-$pkgver + make check +} + +package() { + cd nghttp2-$pkgver/lib + + make DESTDIR="$pkgdir" install + install -Dm644 ../COPYING "$pkgdir/usr/share/licenses/libnghttp2/COPYING" +}