diff --git a/libnghttp2/trunk/PKGBUILD b/libnghttp2/trunk/PKGBUILD index 071aee85..7c5577e3 100644 --- a/libnghttp2/trunk/PKGBUILD +++ b/libnghttp2/trunk/PKGBUILD @@ -1,20 +1,23 @@ -# Maintainer: Anatol Pomozov +# Contributor: Anatol Pomozov # Contributor: Zhuoyun Wei pkgname=libnghttp2 pkgver=1.50.0 -pkgrel=1 +pkgrel=2 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') -source=(https://github.com/nghttp2/nghttp2/releases/download/v$pkgver/nghttp2-$pkgver.tar.xz) -sha512sums=('c2f7f14972cb268a85966f2bd26ac515fa61d9cf6b6bcaa5cffc04f02a18abf116b15537eb4dfbdfa79e7b1472de7034dfdbce7a082cc5b23627d87e2939e529') +_commit=(e55c4d22651d72c0b7fb589de4fdaaa1ecf9e8bd) # git rev-parse v${pkgver} +source=(git+https://github.com/nghttp2/nghttp2.git?signed#tag=${_commit}) +sha512sums=('SKIP') +validpgpkeys=(F4F3B91474D1EB29889BD0EF7E8403D5D673C366) build() { - cd nghttp2-$pkgver + cd nghttp2 autoreconf -i ./configure \ @@ -26,12 +29,12 @@ build() { } check() { - cd nghttp2-$pkgver + cd nghttp2 make check } package() { - cd nghttp2-$pkgver/lib + cd nghttp2/lib make DESTDIR="$pkgdir" install install -Dm644 ../COPYING "$pkgdir/usr/share/licenses/libnghttp2/COPYING"