# $Id: PKGBUILD 22396 2008-12-26 17:15:44Z jgc $ # Maintainer: Thomas Baechler pkgname=davfs2 pkgver=1.3.3 pkgrel=1 pkgdesc="File system driver that allows you to mount a WebDAV server as a local disk drive." arch=(i686 x86_64) url="http://dav.sourceforge.net" license=('GPL') depends=('neon>=0.28.3') backup=(etc/davfs2/davfs2.conf etc/davfs2/secrets) source=(http://downloads.sourceforge.net/sourceforge/dav/${pkgname}-${pkgver}.tar.gz) md5sums=('57def26e4d6d63527e01612d10fd0515') build() { cd "${srcdir}/${pkgname}-${pkgver}" dav_user=nobody dav_group=network ./configure --prefix=/usr --sysconfdir=/etc --disable-debug || return 1 make || return 1 # Create some dirs install -d -m755 "${pkgdir}/sbin" make DESTDIR="${pkgdir}" install || return 1 rm -f ${pkgdir}/sbin/{u,}mount.davfs ln -sf /usr/sbin/mount.davfs "${pkgdir}/sbin/mount.davfs" ln -sf /usr/sbin/umount.davfs "${pkgdir}/sbin/umount.davfs" rm -f ${pkgdir}/usr/share/davfs2/{BUGS,COPYING,FAQ,NEWS,TODO,ChangeLog,GPL,README,THANKS} }