[arch-commits] Commit in open-vm-tools/trunk (PKGBUILD)

Sergej Pupykin spupykin at nymeria.archlinux.org
Wed May 29 06:04:03 EDT 2013


    Date: Wednesday, May 29, 2013 @ 12:04:03
  Author: spupykin
Revision: 91905

upgpkg: open-vm-tools 1:9.2.3-3

upd

Modified:
  open-vm-tools/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-29 10:03:59 UTC (rev 91904)
+++ PKGBUILD	2013-05-29 10:04:03 UTC (rev 91905)
@@ -7,7 +7,7 @@
 epoch=1
 pkgver=9.2.3
 _pkgsubver=1031360
-pkgrel=2
+pkgrel=3
 pkgdesc="The Open Virtual Machine Tools (open-vm-tools) are the open source implementation of VMware Tools"
 arch=('i686' 'x86_64')
 url="http://open-vm-tools.sourceforge.net/"
@@ -44,7 +44,7 @@
   cd "$srcdir/$pkgname-${pkgver}-${_pkgsubver}"
   export CFLAGS="-DGLIB_DISABLE_DEPRECATION_WARNINGS ${CFLAGS}"
   sed -i 's|-Werror||g' configure{,.ac}
-  [ -f Makefile ] || CUSTOM_PROCPS_NAME="procps" ./configure --prefix=/usr --without-kernel-modules
+  [ -f Makefile ] || CUSTOM_PROCPS_NAME="procps" ./configure --prefix=/usr --without-kernel-modules --sbindir=/usr/bin
   make
 }
 
@@ -70,7 +70,8 @@
   install -Dm0644 "$srcdir"/vmware-guestd "$pkgdir"/etc/pam.d/vmware-guestd
   rm -rf "$pkgdir"/usr/etc
 
-  ln -fs /usr/sbin/mount.vmhgfs "$pkgdir"/sbin/mount.vmhgfs
+  mkdir -p $pkgdir/sbin
+  ln -fs /usr/bin/mount.vmhgfs "$pkgdir"/sbin/mount.vmhgfs
 
   cd "$pkgdir" && find -type f -exec sh -c "file {} | grep ELF >/dev/null && echo {} && chrpath -d {}" \;
   install -Dm644 ${srcdir}/vmtoolsd.service ${pkgdir}/usr/lib/systemd/system/vmtoolsd.service



More information about the arch-commits mailing list