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


Commits:
22cdc825 by Christian Hesse at 2024-02-02T16:17:03+01:00
upgpkg: 1.1.0-2: drop headers, fix paths

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,11 +1,12 @@
 pkgbase = lib32-libnghttp3
        pkgdesc = HTTP/3 library written in C (32-bit)
        pkgver = 1.1.0
-       pkgrel = 1
+       pkgrel = 2
        url = https://github.com/ngtcp2/nghttp3
        arch = x86_64
        license = MIT
        depends = lib32-glibc
+       depends = libnghttp3
        provides = libnghttp3.so
        source = 
https://github.com/ngtcp2/nghttp3/releases/download/v1.1.0/nghttp3-1.1.0.tar.xz
        source = 
https://github.com/ngtcp2/nghttp3/releases/download/v1.1.0/nghttp3-1.1.0.tar.xz.asc


=====================================
PKGBUILD
=====================================
@@ -2,12 +2,12 @@
 
 pkgname=lib32-libnghttp3
 pkgver=1.1.0
-pkgrel=1
+pkgrel=2
 pkgdesc="HTTP/3 library written in C (32-bit)"
 url='https://github.com/ngtcp2/nghttp3'
 arch=('x86_64')
 license=('MIT')
-depends=('lib32-glibc')
+depends=('lib32-glibc' 'libnghttp3')
 provides=('libnghttp3.so')
 validpgpkeys=('F4F3B91474D1EB29889BD0EF7E8403D5D673C366') # Tatsuhiro 
Tsujikawa <[email protected]>
 
source=("https://github.com/ngtcp2/nghttp3/releases/download/v${pkgver}/nghttp3-${pkgver}.tar.xz"{,.asc})
@@ -25,7 +25,8 @@ build() {
   export CXX='g++ -m32'
   export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
   ./configure \
-    --prefix=/usr
+    --prefix=/usr \
+    --libdir=/usr/lib32
   make
 }
 
@@ -37,5 +38,6 @@ check() {
 package() {
   cd nghttp3-${pkgver}/lib
   make DESTDIR="${pkgdir}" install
+  rm -r "${pkgdir}"/usr/include
   install -Dm644 ../COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/lib32-libnghttp3/-/commit/22cdc825c9e001bb01efdd2b580cf6d3b3398929

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


Reply via email to