From 4f00eac717db21aefe11b1dd5e0dbe76680430b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9=20=28=D0=A5?= =?UTF-8?q?=D1=80=D0=B0=D0=BC=D1=8B=D1=87=D0=AA=29=20=D0=A5=D1=80=D0=B0?= =?UTF-8?q?=D0=BC=D0=BE=D0=B2?= Date: Sat, 17 May 2025 13:54:45 +0300 Subject: [PATCH] libnghttp3 1.9.0-1 --- libnghttp3/alr.sh | 56 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 libnghttp3/alr.sh diff --git a/libnghttp3/alr.sh b/libnghttp3/alr.sh new file mode 100644 index 0000000..e546280 --- /dev/null +++ b/libnghttp3/alr.sh @@ -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="Евгений Храмов " +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 +} \ No newline at end of file