[arch-commits] Commit in libnghttp2 (trunk trunk/PKGBUILD)

Jan de Groot jgc at archlinux.org
Fri Mar 3 10:34:57 UTC 2017


    Date: Friday, March 3, 2017 @ 10:34:56
  Author: jgc
Revision: 289917

Add standalone libnghttp2 for core

Added:
  libnghttp2/trunk/
  libnghttp2/trunk/PKGBUILD

----------+
 PKGBUILD |   40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

Added: trunk/PKGBUILD
===================================================================
--- trunk/PKGBUILD	                        (rev 0)
+++ trunk/PKGBUILD	2017-03-03 10:34:56 UTC (rev 289917)
@@ -0,0 +1,40 @@
+# $Id: PKGBUILD 289632 2017-02-27 17:36:38Z anatolik $
+# Maintainer: Anatol Pomozov
+# Contributor: Zhuoyun Wei <wzyboy at wzyboy.org>
+
+pkgname=libnghttp2
+pkgver=1.20.0
+pkgrel=1
+pkgdesc='Framing layer of HTTP/2 is implemented as a reusable C library'
+arch=(i686 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=('2b2b78915284f32d86c80cd8037b8e5f8c9e94f8a98f674a45cdfb79b863ce62')
+
+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"
+}



More information about the arch-commits mailing list