# $Id: PKGBUILD 3174 2009-09-29 10:26:30Z spupykin $ # Maintainer: Sergej Pupykin # Contributor: Krzysztof Raczkowski pkgname=open-vm-tools-modules pkgver=2009.09.18 _pkgsubver=193784 _kernver=`pacman -Q kernel26 | cut -d . -f 3 | cut -f 1 -d -` pkgrel=2 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=('GPL') makedepends=('libdnet' 'icu') depends=("kernel26>=2.6.${_kernver}" "kernel26<2.6.`expr ${_kernver} + 1`") install=$pkgname.install source=(http://easynews.dl.sourceforge.net/sourceforge/open-vm-tools/open-vm-tools-$pkgver-${_pkgsubver}.tar.gz) md5sums=('90c79c24756f0b6cc3d42faed10f5c1b') build() { KERNEL_VERSION="2.6.${_kernver}-ARCH" msg "Kernel = $KERNEL_VERSION" cd "$srcdir/open-vm-tools-$pkgver-${_pkgsubver}" sed -i 's#-lproc-3.2.7#-lproc-3.2.8#' configure ./configure --prefix=/usr --disable-unity patch -p0 modules/linux/vmmemctl/Makefile.kernel <