summaryrefslogtreecommitdiff
path: root/community-testing/open-vm-tools
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-07 03:09:25 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-07 03:09:25 +0000
commitbd65dc7107bfdd881c3b5451d0300824cf435428 (patch)
treee3a556d41162da07c82e31daa6fc22af18719e63 /community-testing/open-vm-tools
parent415856bdd4f48ab4f2732996f0bae58595092bbe (diff)
Thu Apr 7 03:09:43 UTC 2011
Diffstat (limited to 'community-testing/open-vm-tools')
-rw-r--r--community-testing/open-vm-tools/PKGBUILD25
1 files changed, 13 insertions, 12 deletions
diff --git a/community-testing/open-vm-tools/PKGBUILD b/community-testing/open-vm-tools/PKGBUILD
index 8dbb03d5f..4102311d9 100644
--- a/community-testing/open-vm-tools/PKGBUILD
+++ b/community-testing/open-vm-tools/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 42480 2011-03-16 21:57:43Z spupykin $
+# $Id: PKGBUILD 44320 2011-04-05 15:30:39Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Krzysztof Raczkowski <raczkow@gmail.com>
pkgname=open-vm-tools
-pkgver=2011.02.23
-_pkgsubver=368700
+pkgver=2011.03.28
+_pkgsubver=387002
pkgrel=1
pkgdesc="The Open Virtual Machine Tools (open-vm-tools) are the open source implementation of VMware Tools."
arch=('i686' 'x86_64')
@@ -24,7 +24,7 @@ source=(http://switch.dl.sourceforge.net/$pkgname/$pkgname-$pkgver-${_pkgsubver}
tools.conf
vmware-guestd
xautostart.conf)
-md5sums=('488601e384daeab2c6ffd81e1a95cad7'
+md5sums=('a9c72ab0b8f7778d444e69e9d3b95527'
'06f7448e274db2a911f582e276088fc9'
'b183ec265200d68431a5e4eb1b0c8cf5'
'8c333a979578bdc0c3134c1dd6bb7353'
@@ -36,16 +36,17 @@ md5sums=('488601e384daeab2c6ffd81e1a95cad7'
build() {
cd "$srcdir/$pkgname-${pkgver}-${_pkgsubver}"
-
-# [ $NOEXTRACT -eq 1 ] || patch -Np1 -i $srcdir/open-vm-tools-X11Bool.patch
-
- [ $NOEXTRACT -eq 1 ] || sed -i 's#3.2.7#3.2.8#' configure
- [ $NOEXTRACT -eq 1 ] || sed -i 's#3.2.7#3.2.8#' configure.ac
-
- unset LDFLAGS
-
+ [ $NOEXTRACT -eq 1 ] || {
+ sed -i 's#3.2.7#3.2.8#' configure configure.ac
+ sed -i 's#CFLAGS="$CFLAGS -Werror"##' configure configure.ac
+ }
[ -f Makefile ] || ./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