Compare commits

...

2 Commits

2 changed files with 57 additions and 1 deletions

View File

@@ -10,7 +10,7 @@ curl -fsSL plemya-x.ru/alr/install.sh | bash
``` ```
## Добавление этого репозитория ## Добавление этого репозитория
```bash ```bash
alr addrepo --name alr-repo --url https://gitea.plemya-x.ru/Plemya-x/alr-repo.git alr repo add alr-repo https://gitea.plemya-x.ru/Plemya-x/alr-repo.git
``` ```
## Соцсети ## Соцсети

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
}