[arch-commits] Commit in libnghttp2/repos (2 files)

Jan de Groot jgc at archlinux.org
Fri Mar 3 10:35:06 UTC 2017


    Date: Friday, March 3, 2017 @ 10:35:05
  Author: jgc
Revision: 289918

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  libnghttp2/repos/testing-i686/PKGBUILD
    (from rev 289917, libnghttp2/trunk/PKGBUILD)
  libnghttp2/repos/testing-x86_64/PKGBUILD
    (from rev 289917, libnghttp2/trunk/PKGBUILD)

-------------------------+
 testing-i686/PKGBUILD   |   40 ++++++++++++++++++++++++++++++++++++++++
 testing-x86_64/PKGBUILD |   40 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 80 insertions(+)

Copied: libnghttp2/repos/testing-i686/PKGBUILD (from rev 289917, libnghttp2/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2017-03-03 10:35:05 UTC (rev 289918)
@@ -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"
+}

Copied: libnghttp2/repos/testing-x86_64/PKGBUILD (from rev 289917, libnghttp2/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2017-03-03 10:35:05 UTC (rev 289918)
@@ -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