#!/usr/bin/bash # JOBoRun : Jwm OpenBox Obarun RUNit # Maintainer : Joe Bo Run # PkgSource : url="https://git.disroot.org/joborun-pkg/jobcore/src/branch/main/$pkgname" # Website : https://pozol.eu #-----------------------------------------| DESCRIPTION |--------------------------------------- pkgname=libnghttp3 pkgver=1.5.0 pkgrel=01 pkgdesc="HTTP/3 library written in C" url='https://github.com/ngtcp2/nghttp3' depends=('glibc') provides=('libnghttp3.so') source=("https://github.com/ngtcp2/nghttp3/releases/download/v${pkgver}/nghttp3-${pkgver}.tar.xz"{,.asc}) 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}" } #---- arch license gpg-key & sha256sums ---- arch=(x86_64) license=('MIT') validpgpkeys=('F4F3B91474D1EB29889BD0EF7E8403D5D673C366') # Tatsuhiro Tsujikawa sha256sums=(8c00e3910ea2ad1218dafebcf8dd2ffdf030c992d9ceb65834d29e5e5278dd0d # nghttp3-1.5.0.tar.xz da5d90e37edd8c19a4f6c6cde764a238851d78dfeeef2eac7c03fe1405159a7a) # nghttp3-1.5.0.tar.xz.asc ## 8a4314d75426ee0655d2d64f8c7cf5b2db2455837ca62bed2dcaa64621beb42e libnghttp3-1.5.0-01-x86_64.pkg.tar.lz