* add libnghttp3
This commit is contained in:
parent
34387a5de5
commit
b3a4b21f54
12
libnghttp3/.SRCINFO
Normal file
12
libnghttp3/.SRCINFO
Normal file
@ -0,0 +1,12 @@
|
||||
pkgbase = libnghttp3
|
||||
pkgdesc = HTTP/3 library written in C
|
||||
pkgver = 1.1.0
|
||||
pkgrel = 1
|
||||
url = https://github.com/ngtcp2/nghttp3
|
||||
arch = x86_64
|
||||
license = MIT
|
||||
provides = libnghttp3.so
|
||||
source = libnghttp3-1.1.0.tar.gz::https://github.com/ngtcp2/nghttp3/archive/refs/tags/v1.1.0.tar.gz
|
||||
sha256sums = b3ffb23a90442a0eafe8bfbefbc8b4ffb5179d68a7c0b8a416a34cf04b28d7c5
|
||||
|
||||
pkgname = libnghttp3
|
38
libnghttp3/PKGBUILD
Normal file
38
libnghttp3/PKGBUILD
Normal file
@ -0,0 +1,38 @@
|
||||
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
|
||||
# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
|
||||
|
||||
pkgname=libnghttp3
|
||||
pkgver=1.1.0
|
||||
pkgrel=1
|
||||
pkgdesc="HTTP/3 library written in C"
|
||||
url='https://github.com/ngtcp2/nghttp3'
|
||||
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
||||
license=('MIT')
|
||||
provides=('libnghttp3.so')
|
||||
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/ngtcp2/nghttp3/archive/refs/tags/v${pkgver}.tar.gz")
|
||||
sha256sums=('b3ffb23a90442a0eafe8bfbefbc8b4ffb5179d68a7c0b8a416a34cf04b28d7c5')
|
||||
|
||||
prepare() {
|
||||
cd nghttp3-${pkgver}
|
||||
autoreconf -i
|
||||
}
|
||||
|
||||
build() {
|
||||
cd nghttp3-${pkgver}
|
||||
./configure \
|
||||
--prefix=/usr
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd nghttp3-${pkgver}
|
||||
make check
|
||||
}
|
||||
|
||||
package() {
|
||||
cd nghttp3-${pkgver}/lib
|
||||
make DESTDIR="${pkgdir}" install
|
||||
install -Dm644 ../COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
|
||||
}
|
||||
|
||||
# vim: ts=2 sw=2 et:
|
Loading…
x
Reference in New Issue
Block a user