jobcore/libnghttp2/PKGBUILD

50 lines
1.1 KiB
Bash
Raw Normal View History

2022-03-20 13:19:37 +01:00
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
2022-06-25 13:09:21 +02:00
# Maintainer : Joe Bo Run <joborun@disroot.org>
2022-03-20 13:19:37 +01:00
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
2022-06-25 13:09:21 +02:00
# Website : https://pozol.eu
2022-03-20 13:19:37 +01:00
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=libnghttp2
2022-11-16 15:46:54 +01:00
pkgver=1.51.0
2022-03-20 13:19:37 +01:00
pkgrel=01
pkgdesc='Framing layer of HTTP/2 is implemented as a reusable C library'
arch=(x86_64)
url='https://nghttp2.org/'
depends=(glibc)
makedepends=('automake' 'autoconf')
conflicts=('nghttp2<1.20.0-2')
source=(https://github.com/nghttp2/nghttp2/releases/download/v$pkgver/nghttp2-$pkgver.tar.xz)
build() {
cd nghttp2-$pkgver
autoreconf -i
./configure \
--prefix=/usr \
--disable-examples \
--disable-python-bindings \
--enable-lib-only
make
}
check() {
cd nghttp2-$pkgver
make check
}
package() {
cd nghttp2-$pkgver/lib
make DESTDIR="$pkgdir" install
install -Dm644 ../COPYING "$pkgdir/usr/share/licenses/libnghttp2/COPYING"
}
#---- license gpg-key sha256sums ----
license=(MIT)
2022-11-16 15:46:54 +01:00
sha256sums=(66aa76d97c143f42295405a31413e5e7d157968dad9f957bb4b015b598882e6b) # nghttp2-1.51.0.tar.xz
2022-09-24 17:43:29 +02:00