jobcore/libmicrohttpd/PKGBUILD
2022-03-20 14:19:37 +02:00

50 lines
1.5 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"
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=libmicrohttpd
pkgver=0.9.75
pkgrel=01
pkgdesc="a small C library that is supposed to make it easy to run an HTTP server as part of another application."
arch=('x86_64')
url="https://www.gnu.org/software/libmicrohttpd/"
depends=('gnutls')
checkdepends=('curl')
provides=('libmicrohttpd.so')
source=("https://ftp.gnu.org/gnu/libmicrohttpd/$pkgname-$pkgver.tar.gz"{,.sig})
build() {
cd ${pkgname}-${pkgver}
./configure \
--prefix=/usr \
--disable-dependency-tracking \
--disable-examples \
--enable-curl \
--enable-https \
--enable-largefile \
--enable-messages \
--with-pic
make
}
check() {
cd ${pkgname}-${pkgver}
make check
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR="$pkgdir" install
}
#---- license gpg-key sha256sums ----
license=('LGPL')
validpgpkeys=('EA812DBEFA5A7EF17DA8F2C1460A317C3326D2AE' # Evgeny Grin (Karlson2k) <k2k@yandex.ru>
'D8423BCB326C7907033929C7939E6BE1E29FC3CC') # Christian Grothoff <christian.grothoff@bfh.ch>
sha256sums=(9278907a6f571b391aab9644fd646a5108ed97311ec66f6359cebbedb0a4e3bb # libmicrohttpd-0.9.75.tar.gz
f7ac2182dc585d932defca4b6fb78143222c6f0e0135c75f3f1300f43f079ac6) # libmicrohttpd-0.9.75.tar.gz.sig