jobextra/neon/PKGBUILD

44 lines
1.2 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/jobextra/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=neon
pkgver=0.32.5
pkgrel=01
pkgdesc="HTTP and WebDAV client library with a C interface"
arch=('x86_64')
url="https://notroj.github.io/neon/"
depends=('krb5' 'expat' 'ca-certificates' 'zlib')
makedepends=('xmlto' 'docbook-xsl')
options=('libtool') # FS#16067
source=(https://notroj.github.io/neon/$pkgname-$pkgver.tar.gz)
build() {
cd ${pkgname}-${pkgver}
./configure --prefix=/usr \
--with-expat \
--enable-shared \
--disable-static \
--with-ssl=openssl \
--with-ca-bundle=/etc/ssl/certs/ca-certificates.crt
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
}
#---- license gpg-key sha256sums ----
license=('GPL' 'LGPL')
validpgpkeys=('190555472DCC589BEF01609C608A86DF9833CC49') # Joe Orton
sha256sums=(4872e12f802572dedd4b02f870065814b2d5141f7dbdaf708eedab826b51a58a) # neon-0.32.5.tar.gz