libnghttp3 1.9.0-1

This commit is contained in:
2025-05-17 13:54:45 +03:00
parent ddffadcd61
commit 4f00eac717

56
libnghttp3/alr.sh Normal file
View File

@ -0,0 +1,56 @@
name='libnghttp3'
version='1.9.0'
release='1'
desc='HTTP/3 library written in C.'
desc_ru='Библиотека HTTP/3, написанная на C.'
homepage='https://github.com/ngtcp2/nghttp3'
maintainer='Evgeniy Khramov xpamych@yandex.ru'
maintainer_ru="Евгений Храмов <xpamych@yandex.ru>"
architectures=('amd64')
license=('MIT')
provides=('libnghttp3.so')
conflicts=('libnghttp3' 'libnghttp3-devel')
deps=(
'glibc'
)
build_deps=(
'autoconf'
'automake'
'libtool'
)
sources=("https://github.com/ngtcp2/nghttp3/releases/download/v$version/nghttp3-$version.tar.xz")
checksums=('SKIP')
options=(!lto)
backup=('etc/gitea/app.ini')
prepare() {
cd nghttp3-$version
autoreconf -i
}
build() {
cd nghttp3-$version
./configure \
--prefix=/usr
make
}
check() {
cd nghttp3-$version
make check
}
package() {
cd nghttp3-$version/lib
make DESTDIR="${pkgdir}" install
install -Dm644 ../COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
files() {
printf '"%s" ' ./usr/include/nghttp3/*
echo ./usr/lib64/**/*
echo ./usr/share/licenses/COPYING
}