# Template file for 'davfs2'
pkgname=davfs2
version=1.6.0
revision=1
build_style=gnu-configure
configure_args="dav_user=nobody dav_group=network --enable-largefile"
hostmakedepends="automake gettext gettext-devel neon-devel tar"
makedepends="neon-devel"
conf_files="/etc/davfs2/davfs2.conf /etc/davfs2/secrets"
short_desc="File system driver that allows you to mount a WebDAV folder"
maintainer="Alexander Mamay <alexander@mamay.su>"
license="GPL-3.0-or-later"
homepage="https://savannah.nongnu.org/projects/davfs2"
distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=2e6b675685bd917772be60f0999ae098c80f79ff20dc131e8fec4547cbb63b50

CFLAGS="-fcommon"

pre_configure() {
	autoreconf -fi
}

post_install() {
	rm -r ${DESTDIR}/sbin
	rm -r ${DESTDIR}/usr/share/davfs2
}
