jobcore/libnghttp2/PKGBUILD
2023-02-15 02:35:34 +02:00

52 lines
1.3 KiB
Bash

#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=libnghttp2
pkgver=1.52.0
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)
sha256sums=(3ea9f0439e60469ad4d39cb349938684ffb929dd7e8e06a7bffe9f9d21f8ba7d) # nghttp2-1.52.0.tar.xz
## 7cdec2ace21420ad4b0bcfd0bcb0ab00ba7b97c856e9821fe1512046fb3a3d73 libnghttp2-1.52.0-01-x86_64.pkg.tar.lz