diff options
author | root <root@rshg054.dnsready.net> | 2012-04-29 00:03:11 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-04-29 00:03:11 +0000 |
commit | 4412991f6b4fd655fc1f51f8d79a0be0c10158b7 (patch) | |
tree | f9c260be9a38030fe89f1d4ce1e60763c7319f5f /community-testing/open-vm-tools/PKGBUILD | |
parent | 00f77ef3b2b7856520daba393370f67b773c2184 (diff) |
Sun Apr 29 00:03:11 UTC 2012
Diffstat (limited to 'community-testing/open-vm-tools/PKGBUILD')
-rw-r--r-- | community-testing/open-vm-tools/PKGBUILD | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/community-testing/open-vm-tools/PKGBUILD b/community-testing/open-vm-tools/PKGBUILD index 3914b43f2..7948a6b23 100644 --- a/community-testing/open-vm-tools/PKGBUILD +++ b/community-testing/open-vm-tools/PKGBUILD @@ -1,16 +1,16 @@ -# $Id: PKGBUILD 69104 2012-04-09 13:50:02Z tdziedzic $ +# $Id: PKGBUILD 70004 2012-04-28 03:49:34Z ebelanger $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Krzysztof Raczkowski <raczkow@gmail.com> pkgname=open-vm-tools pkgver=2012.03.13 _pkgsubver=651368 -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/" license=('LGPL') -depends=('open-vm-tools-modules' 'libdnet' 'icu' 'procps' 'uriparser' 'libsigc++' 'libxss') +depends=('open-vm-tools-modules' 'libdnet' 'icu' 'procps-ng' 'uriparser' 'libsigc++' 'libxss') makedepends=('chrpath' 'doxygen' 'gtkmm' 'fuse' 'libxtst') optdepends=('gtkmm' 'libnotify' 'libxtst' 'fuse' 'libsm') options=('docs' '!libtool') @@ -37,29 +37,29 @@ md5sums=('a664206443d5de53f5f8ee8d5fe6c2d7' build() { cd "$srcdir/$pkgname-${pkgver}-${_pkgsubver}" - [ -f Makefile ] || ./configure --prefix=/usr --without-kernel-modules + [ -f Makefile ] || CUSTOM_PROCPS_NAME="procps" ./configure --prefix=/usr --without-kernel-modules make } package() { cd "$srcdir/$pkgname-${pkgver}-${_pkgsubver}" - make install DESTDIR=$pkgdir - install -D -m 755 scripts/common/vmware-xdg-detect-de $pkgdir/usr/bin/vmware-xdg-detect-de - chmod 07755 $pkgdir/usr/bin/vmware-user-suid-wrapper + make install DESTDIR="$pkgdir" + install -D -m 755 scripts/common/vmware-xdg-detect-de "$pkgdir"/usr/bin/vmware-xdg-detect-de + chmod 07755 "$pkgdir"/usr/bin/vmware-user-suid-wrapper - cd $pkgdir - patch -p1 -i $srcdir/scripts-network.patch etc/vmware-tools/scripts/vmware/network - patch -p1 -i $srcdir/scripts-network-FS19541.patch etc/vmware-tools/scripts/vmware/network + cd "$pkgdir" + patch -p1 -i "$srcdir"/scripts-network.patch etc/vmware-tools/scripts/vmware/network + patch -p1 -i "$srcdir"/scripts-network-FS19541.patch etc/vmware-tools/scripts/vmware/network - install -D -m 755 $srcdir/open-vm-tools.rc.d $pkgdir/etc/rc.d/open-vm-tools - install -D -m 644 $srcdir/open-vm-tools.conf.d $pkgdir/etc/conf.d/open-vm-tools - install -D -m 644 $srcdir/tools.conf $pkgdir/etc/vmware-tools/tools.conf - install -D -m 644 $srcdir/xautostart.conf $pkgdir/etc/vmware-tools/xautostart.conf - install -D -m 644 $srcdir/vmware-guestd $pkgdir/etc/pam.d/vmware-guestd - rm -rf $pkgdir/usr/etc + install -D -m 755 "$srcdir"/open-vm-tools.rc.d "$pkgdir"/etc/rc.d/open-vm-tools + install -D -m 644 "$srcdir"/open-vm-tools.conf.d "$pkgdir"/etc/conf.d/open-vm-tools + install -D -m 644 "$srcdir"/tools.conf "$pkgdir"/etc/vmware-tools/tools.conf + install -D -m 644 "$srcdir"/xautostart.conf "$pkgdir"/etc/vmware-tools/xautostart.conf + install -D -m 644 "$srcdir"/vmware-guestd "$pkgdir"/etc/pam.d/vmware-guestd + rm -rf "$pkgdir"/usr/etc - ln -fs /usr/sbin/mount.vmhgfs $pkgdir/sbin/mount.vmhgfs + ln -fs /usr/sbin/mount.vmhgfs "$pkgdir"/sbin/mount.vmhgfs - cd $pkgdir && find -type f -exec sh -c "file {} | grep ELF >/dev/null && echo {} && chrpath -d {}" \; + cd "$pkgdir" && find -type f -exec sh -c "file {} | grep ELF >/dev/null && echo {} && chrpath -d {}" \; } |