jobextra/neon/PKGBUILD

54 lines
1.4 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=02
pkgdesc='HTTP/1.1 and WebDAV client library with a C interface'
url="https://notroj.github.io/neon/"
depends=('krb5' 'expat' 'ca-certificates' 'zlib' 'openssl')
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
}
check() {
cd $pkgname-$pkgver
make check
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
}
#---- arch license gpg-key & sha256sums ----
arch=('x86_64')
license=('LGPL2.1')
#license=('GPL' 'LGPL') license change??
validpgpkeys=('190555472DCC589BEF01609C608A86DF9833CC49') # Joe Orton
sha256sums=(4872e12f802572dedd4b02f870065814b2d5141f7dbdaf708eedab826b51a58a) # neon-0.32.5.tar.gz
## 7f1a9d6c3f0137d1a2dd5b9f9c7348433485086b9e1f7bab424e38a8ea120ffd neon-0.32.5-02-x86_64.pkg.tar.lz