new blfs: net-libs/nghttp2-1.66.0
This commit is contained in:
30
net-libs/nghttp2-1.66.0.PKGBUILD
Normal file
30
net-libs/nghttp2-1.66.0.PKGBUILD
Normal file
@@ -0,0 +1,30 @@
|
||||
pkgname=nghttp2
|
||||
pkgver=1.66.0
|
||||
pkgdesc='Framing layer of HTTP/2 is implemented as a reusable C library'
|
||||
arch=('x86_64')
|
||||
homepage='https://nghttp2.org/'
|
||||
license=('MIT')
|
||||
sources=("${pkgname}-${pkgver}.tar.xz")
|
||||
urls=("https://github.com/nghttp2/nghttp2/releases/download/v${pkgver}/${sources[0]}")
|
||||
md5sums=("295c22437cc44e1634a2b82ea93df747")
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
./configure --prefix=/usr \
|
||||
--disable-static \
|
||||
--enable-lib-only \
|
||||
--docdir=/usr/share/doc/${pkgname}-${pkgver} &&
|
||||
make
|
||||
}
|
||||
|
||||
src_check() {
|
||||
make check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="${pkgdir}" install
|
||||
install -Dm644 COPYING "$pkgdir/usr/share/licenses/${pkgname}/COPYING"
|
||||
}
|
||||
Reference in New Issue
Block a user