diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/davfs2 |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/davfs2')
-rw-r--r-- | extra/davfs2/PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/extra/davfs2/PKGBUILD b/extra/davfs2/PKGBUILD new file mode 100644 index 000000000..ce4340ef7 --- /dev/null +++ b/extra/davfs2/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 111470 2011-02-27 10:09:32Z thomas $ +# Maintainer: Thomas Baechler <thomas@archlinux.org> +pkgname=davfs2 +pkgver=1.4.6 +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://savannah.nongnu.org/projects/davfs2" +license=('GPL') +depends=('neon') +backup=(etc/davfs2/davfs2.conf etc/davfs2/secrets) +source=(http://mirrors.zerg.biz/nongnu/davfs2/${pkgname}-${pkgver}.tar.gz) +sha256sums=('e07252ec6db38c8f691bf2dada639e8300e058594f47a7c3c45020631621c356') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + dav_user=nobody dav_group=network ./configure --prefix=/usr --sysconfdir=/etc --disable-debug + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + # Create some dirs + install -d -m755 "${pkgdir}/sbin" + make DESTDIR="${pkgdir}" install + + 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} +} |