[arch-commits] Commit in (3 files)

Antonio Rojas arojas at gemini.archlinux.org
Fri Feb 18 20:01:41 UTC 2022


    Date: Friday, February 18, 2022 @ 20:01:41
  Author: arojas
Revision: 1134171

New lib32-libsoup3 dependency

Added:
  lib32-libnghttp2/
  lib32-libnghttp2/trunk/
  lib32-libnghttp2/trunk/PKGBUILD

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

Added: lib32-libnghttp2/trunk/PKGBUILD
===================================================================
--- lib32-libnghttp2/trunk/PKGBUILD	                        (rev 0)
+++ lib32-libnghttp2/trunk/PKGBUILD	2022-02-18 20:01:41 UTC (rev 1134171)
@@ -0,0 +1,42 @@
+# Maintainer: Anatol Pomozov
+# Contributor: Zhuoyun Wei <wzyboy at wzyboy.org>
+
+pkgname=lib32-libnghttp2
+pkgver=1.46.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=(lib32-glibc libnghttp2)
+source=(https://github.com/nghttp2/nghttp2/releases/download/v$pkgver/nghttp2-$pkgver.tar.xz)
+sha512sums=('fcf3573bcc421705190c7cf0e3230f6f3028b669cb2976d29cfeb73e706deaae91ce60d0a615472e3f296454049ea5798f1e8defdd260a98895e94fea6a7a16b')
+
+build() {
+  cd nghttp2-$pkgver
+  export CC='gcc -m32'
+  export CXX='g++ -m32'
+  export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
+
+  autoreconf -i
+  ./configure \
+    --prefix=/usr \
+    --disable-examples \
+    --disable-python-bindings \
+    --enable-lib-only \
+    --libdir=/usr/lib32
+  make
+}
+
+check() {
+  cd nghttp2-$pkgver
+  make check
+}
+
+package() {
+  cd nghttp2-$pkgver/lib
+
+  make DESTDIR="$pkgdir" install
+  rm -r "$pkgdir"/usr/include
+  install -Dm644 ../COPYING -t "$pkgdir"/usr/share/licenses/$pkgname
+}



More information about the arch-commits mailing list