jobcore/libnghttp2/PKGBUILD

64 lines
1.5 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
2024-01-21 20:34:52 +01:00
_tag='6c83ba437df9834305ccf68083775d7742974ecb' # git rev-parse v${pkgver}
pkgver=1.59.0
pkgrel=02
2022-03-20 13:19:37 +01:00
pkgdesc='Framing layer of HTTP/2 is implemented as a reusable C library'
url='https://nghttp2.org/'
depends=(glibc)
makedepends=('automake' 'autoconf' 'git')
2022-03-20 13:19:37 +01:00
conflicts=('nghttp2<1.20.0-2')
provides=('libnghttp2.so')
#source=(https://github.com/nghttp2/nghttp2/releases/download/v$pkgver/nghttp2-$pkgver.tar.xz)
source=("git+https://github.com/nghttp2/nghttp2.git#tag=${_tag}?signed")
prepare() {
cd nghttp2
autoreconf -i
}
2022-03-20 13:19:37 +01:00
build() {
cd nghttp2
2022-03-20 13:19:37 +01:00
./configure \
--prefix=/usr \
--disable-examples \
--disable-python-bindings \
--enable-lib-only
make
}
check() {
# cd nghttp2-$pkgver
cd nghttp2
2022-03-20 13:19:37 +01:00
make check
}
package() {
# cd nghttp2-$pkgver/lib
cd nghttp2/lib
2022-03-20 13:19:37 +01:00
make DESTDIR="$pkgdir" install
install -Dm644 ../COPYING "$pkgdir/usr/share/licenses/libnghttp2/COPYING"
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
2022-03-20 13:19:37 +01:00
license=(MIT)
validpgpkeys=('F4F3B91474D1EB29889BD0EF7E8403D5D673C366') # Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
sha256sums=(SKIP)
2023-02-15 01:35:34 +01:00
## 30e49664106def46f531c1dda8cd2da2b4f9aa97d3b5585e3c50c417a118718a libnghttp2-1.59.0-02-x86_64.pkg.tar.lz