[arch-commits] Commit in davfs2/trunk (PKGBUILD)

Tobias Powalowski tpowa at nymeria.archlinux.org
Fri May 31 03:01:23 EDT 2013


    Date: Friday, May 31, 2013 @ 09:01:23
  Author: tpowa
Revision: 186773

upgpkg: davfs2 1.4.7-2

move everything to /usr/bin

Modified:
  davfs2/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-31 06:55:09 UTC (rev 186772)
+++ PKGBUILD	2013-05-31 07:01:23 UTC (rev 186773)
@@ -2,7 +2,7 @@
 # Maintainer: Thomas Baechler <thomas at 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 @@
 
 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}
 }



More information about the arch-commits mailing list