summaryrefslogtreecommitdiff
path: root/extra/davfs2/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/davfs2/PKGBUILD')
-rw-r--r--extra/davfs2/PKGBUILD13
1 files changed, 4 insertions, 9 deletions
diff --git a/extra/davfs2/PKGBUILD b/extra/davfs2/PKGBUILD
index a682bf185..1b2807981 100644
--- a/extra/davfs2/PKGBUILD
+++ b/extra/davfs2/PKGBUILD
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD 165783 2012-08-29 23:04:18Z thomas $
+# $Id: PKGBUILD 187054 2013-06-03 11:16:20Z allan $
# Maintainer: Thomas Baechler <thomas@archlinux.org>
pkgname=davfs2
pkgver=1.4.7
-pkgrel=1
+pkgrel=2
pkgdesc="File system driver that allows you to mount a WebDAV folder"
arch=(i686 x86_64)
url="http://savannah.nongnu.org/projects/davfs2"
@@ -14,19 +14,14 @@ sha256sums=('50c0ee2a12e8d09fc6a852d32bdfebb1f784939433a85f05254bc7ef28cff044')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- dav_user=nobody dav_group=network ./configure --prefix=/usr --sysconfdir=/etc --disable-debug
+ dav_user=nobody dav_group=network ./configure --prefix=/usr --sbindir=/usr/bin --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 -rf ${pkgdir}/sbin
rm -f ${pkgdir}/usr/share/davfs2/{BUGS,COPYING,FAQ,NEWS,TODO,ChangeLog,GPL,README,THANKS}
}