Christian Hesse pushed to branch main at Arch Linux / Packaging / Packages / 
libnghttp3


Commits:
3eb1cc0d by Christian Hesse at 2026-01-07T15:22:03+01:00
build from git sources

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -5,12 +5,15 @@ pkgbase = libnghttp3
        url = https://github.com/ngtcp2/nghttp3
        arch = x86_64
        license = MIT
+       makedepends = git
        depends = glibc
        provides = libnghttp3.so
-       source = 
https://github.com/ngtcp2/nghttp3/releases/download/v1.14.0/nghttp3-1.14.0.tar.xz
-       source = 
https://github.com/ngtcp2/nghttp3/releases/download/v1.14.0/nghttp3-1.14.0.tar.xz.asc
+       source = git+https://github.com/ngtcp2/nghttp3.git#tag=v1.14.0?signed
+       source = git+https://github.com/ngtcp2/munit.git
+       source = git+https://github.com/ngtcp2/sfparse.git
        validpgpkeys = F4F3B91474D1EB29889BD0EF7E8403D5D673C366
-       sha256sums = 
b3083dae2ff30cf00d24d5fedd432479532c7b17d993d384103527b36c1ec82d
+       sha256sums = 
a13b52492acda6802cb9f604b1cc5b3ccb1b9ba2943f59fd86647ac2ab0a0944
+       sha256sums = SKIP
        sha256sums = SKIP
 
 pkgname = libnghttp3


=====================================
PKGBUILD
=====================================
@@ -4,38 +4,50 @@
 pkgname=libnghttp3
 pkgver=1.14.0
 pkgrel=1
-pkgdesc="HTTP/3 library written in C"
+pkgdesc='HTTP/3 library written in C'
 url='https://github.com/ngtcp2/nghttp3'
 arch=('x86_64')
 license=('MIT')
 depends=('glibc')
+makedepends=('git')
 provides=('libnghttp3.so')
 validpgpkeys=('F4F3B91474D1EB29889BD0EF7E8403D5D673C366') # Tatsuhiro 
Tsujikawa <[email protected]>
-source=("https://github.com/ngtcp2/nghttp3/releases/download/v${pkgver}/nghttp3-${pkgver}.tar.xz"{,.asc})
-sha256sums=('b3083dae2ff30cf00d24d5fedd432479532c7b17d993d384103527b36c1ec82d'
+source=("git+https://github.com/ngtcp2/nghttp3.git#tag=v${pkgver}?signed";
+        'git+https://github.com/ngtcp2/munit.git'
+        'git+https://github.com/ngtcp2/sfparse.git')
+sha256sums=('a13b52492acda6802cb9f604b1cc5b3ccb1b9ba2943f59fd86647ac2ab0a0944'
+            'SKIP'
             'SKIP')
 
 prepare() {
-  cd nghttp3-${pkgver}
+  cd nghttp3/
+
+  git config --file=.gitmodules submodule.tests/munit.url ../munit/
+  git config --file=.gitmodules submodule.lib/sfparse.url ../sfparse/
+
+  git submodule init
+  git -c protocol.file.allow=always submodule update
+
   autoreconf -i
 }
 
 build() {
-  cd nghttp3-${pkgver}
+  cd nghttp3/
+
   ./configure \
     --prefix=/usr
   make
 }
 
 check() {
-  cd nghttp3-${pkgver}
+  cd nghttp3/
+
   make check
 }
 
 package() {
-  cd nghttp3-${pkgver}/lib
+  cd nghttp3/
+
   make DESTDIR="${pkgdir}" install
-  install -Dm644 ../COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -D -m0644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
 }
-
-# vim: ts=2 sw=2 et:



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/libnghttp3/-/commit/3eb1cc0dd018c58123282e44ca7eaabb9df67f41

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/libnghttp3/-/commit/3eb1cc0dd018c58123282e44ca7eaabb9df67f41
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to