summaryrefslogtreecommitdiff
path: root/community/open-vm-tools/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-02-10 01:12:52 -0800
committerroot <root@rshg054.dnsready.net>2013-02-10 01:12:52 -0800
commit1bb2648cde916ac27d3dd75d7b64a4ddc89787b7 (patch)
tree016bfa1969323404c37dbef29cfc7242a5a8e9f3 /community/open-vm-tools/PKGBUILD
parente9c244cac8e5dc1c59c7e8b7bc885fef04224b70 (diff)
Sun Feb 10 01:12:35 PST 2013
Diffstat (limited to 'community/open-vm-tools/PKGBUILD')
-rw-r--r--community/open-vm-tools/PKGBUILD100
1 files changed, 0 insertions, 100 deletions
diff --git a/community/open-vm-tools/PKGBUILD b/community/open-vm-tools/PKGBUILD
deleted file mode 100644
index 22b63f7d6..000000000
--- a/community/open-vm-tools/PKGBUILD
+++ /dev/null
@@ -1,100 +0,0 @@
-# $Id: PKGBUILD 80292 2012-11-19 13:12:33Z spupykin $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Contributor: Krzysztof Raczkowski <raczkow@gmail.com>
-
-pkgbase=open-vm-tools
-pkgname=('open-vm-tools' 'open-vm-tools-dkms')
-epoch=1
-pkgver=9.2.2
-_pkgsubver=893683
-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=('libdnet' 'icu' 'procps-ng' 'uriparser' 'libsigc++' 'libxss' 'iproute2')
-makedepends=('chrpath' 'doxygen' 'gtkmm' 'fuse' 'libxtst')
-optdepends=('gtkmm' 'libnotify' 'libxtst' 'fuse' 'libsm'
- 'open-vm-tools-modules: for linux kernel'
- 'open-vm-tools-dkms: for linux-lts and other kernels')
-backup=('etc/conf.d/open-vm-tools'
- 'etc/pam.d/vmware-guestd')
-options=('docs' '!libtool')
-install=$pkgname.install
-source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver-${_pkgsubver}.tar.gz
- scripts-network.patch
- scripts-network-FS19541.patch
- open-vm-tools-X11Bool.patch
- open-vm-tools.conf.d
- open-vm-tools.rc.d
- tools.conf
- vmware-guestd
- xautostart.conf
- modprobe.conf
- vmtoolsd.service)
-md5sums=('7af505681d736d4c9ee6493b1166689f'
- 'b8f68fef3d388489e40dba581b6da18a'
- '507ead54854e49762ca2a6893529c484'
- '8c333a979578bdc0c3134c1dd6bb7353'
- '6567ca1b465854f832fc94a4e9faf876'
- '0848618fa6310294db2752c77ae99865'
- 'b55d15e2c4be396aad709aeca91033d3'
- '1b9ae908fce4c623269f100ee9bdfdef'
- '75a25d83417e683957321f97a00f8465'
- 'bc5518489077e91655489bd04b868584'
- 'a6c53243d31c765580f6dded7d5fa98f')
-
-build() {
- cd "$srcdir/$pkgname-${pkgver}-${_pkgsubver}"
- export CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS
- [ -f Makefile ] || CUSTOM_PROCPS_NAME="procps" ./configure --prefix=/usr --without-kernel-modules
- make
-}
-
-package_open-vm-tools() {
- cd "$srcdir/$pkgname-${pkgver}-${_pkgsubver}"
-
- make install DESTDIR="$pkgdir"
- install -Dm0644 vmware-user-suid-wrapper/vmware-user.desktop $pkgdir/usr/share/applications/vmware-user.desktop
-
- # vmware-user XDG autostart
- mkdir -p $pkgdir/etc/xdg/autostart
- ln -s /usr/share/applications/vmware-user.desktop $pkgdir/etc/xdg/autostart/vmware-user.desktop
-
- 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
-
- install -Dm0755 "$srcdir"/open-vm-tools.rc.d "$pkgdir"/etc/rc.d/open-vm-tools
- install -Dm0644 "$srcdir"/open-vm-tools.conf.d "$pkgdir"/etc/conf.d/open-vm-tools
- install -Dm0644 "$srcdir"/tools.conf "$pkgdir"/etc/vmware-tools/tools.conf
- install -Dm0644 "$srcdir"/xautostart.conf "$pkgdir"/etc/vmware-tools/xautostart.conf
- 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
-
- 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
-}
-
-package_open-vm-tools-dkms() {
- pkgdesc="kernel modules for the open source implementation of VMware Tools"
- depends=('dkms')
- provides=('open-vm-tools-modules')
- conflicts=('open-vm-tools-modules')
- optdepends=()
- backup=()
- install=open-vm-tools-dkms.install
-
- install -d -m755 ${pkgdir}/usr/src/
- sh ${srcdir}/open-vm-tools-${pkgver}-${_pkgsubver}/modules/linux/dkms.sh \
- ${srcdir}/open-vm-tools-${pkgver}-${_pkgsubver}/ \
- ${pkgdir}/usr/src/
- install -Dm644 ${srcdir}/modprobe.conf ${pkgdir}/usr/lib/modprobe.d/${pkgname}.conf
-
- rm -f $pkgdir/etc/vmware-tools/scripts/vmware/*.orig
-}