core/neon/PKGBUILD

28 lines
675 B
Bash

#
# Core packages for Chakra, part of chakraos.org
#
pkgname=neon
pkgver=0.30.1
pkgrel=1
pkgdesc="HTTP and WebDAV client library with a C interface"
arch=('x86_64')
license=('GPL' 'LGPL')
depends=('krb5' 'expat' 'ca-certificates')
url="http://www.webdav.org/neon/"
source=("http://www.webdav.org/neon/${pkgname}-${pkgver}.tar.gz")
md5sums=('231adebe5c2f78fded3e3df6e958878e')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr \
--with-expat --enable-shared --disable-static \
--with-ssl=openssl --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt
make
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
}