summaryrefslogtreecommitdiff
path: root/community/open-vm-tools-modules
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-11-12 23:14:57 +0000
committerroot <root@rshg054.dnsready.net>2011-11-12 23:14:57 +0000
commit559f8739357af66f22f2259e84b21c76b3a66205 (patch)
tree94eed0bef6460bbf30846c7e6bc2179e34fb6301 /community/open-vm-tools-modules
parente0f64ccb05c467785eaf68b42c3e302c44aa3324 (diff)
Sat Nov 12 23:14:57 UTC 2011
Diffstat (limited to 'community/open-vm-tools-modules')
-rw-r--r--community/open-vm-tools-modules/PKGBUILD10
-rw-r--r--community/open-vm-tools-modules/open-vm-tools-modules.install2
2 files changed, 7 insertions, 5 deletions
diff --git a/community/open-vm-tools-modules/PKGBUILD b/community/open-vm-tools-modules/PKGBUILD
index 19d738644..022db4869 100644
--- a/community/open-vm-tools-modules/PKGBUILD
+++ b/community/open-vm-tools-modules/PKGBUILD
@@ -1,18 +1,19 @@
-# $Id: PKGBUILD 58261 2011-11-09 14:59:24Z spupykin $
+# $Id: PKGBUILD 58321 2011-11-11 11:56:51Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Krzysztof Raczkowski <raczkow@gmail.com>
pkgname=open-vm-tools-modules
pkgver=2011.10.26
_pkgsubver=514583
-pkgrel=1
-pkgdesc="The Open Virtual Machine Tools (open-vm-tools) are the open source implementation of VMware Tools"
+pkgrel=2
+pkgdesc="kernel modules for the open source implementation of VMware Tools"
arch=('i686' 'x86_64')
url="http://open-vm-tools.sourceforge.net/"
license=('GPL')
makedepends=('libdnet' 'icu' 'uriparser' 'linux-headers')
depends=("linux")
install=$pkgname.install
+options=('!strip')
source=("http://downloads.sourceforge.net/open-vm-tools/open-vm-tools-$pkgver-${_pkgsubver}.tar.gz")
md5sums=('06f299375a91fbcba9d16b5007490023')
@@ -35,7 +36,8 @@ package() {
cd "$srcdir/open-vm-tools-${pkgver}-${_pkgsubver}"
mkdir -p $pkgdir/lib/modules/extramodules-3.${_kernver}-ARCH/
for MOD in `find -type f -name '*.ko'`; do
- install -D -m644 $MOD $pkgdir/lib/modules/extramodules-3.${_kernver}-ARCH/
+ install -Dm644 $MOD $pkgdir/lib/modules/extramodules-3.${_kernver}-ARCH/
done
sed -i -e "s/KERNEL_VERSION='.*'/KERNEL_VERSION='$KERNEL_VERSION'/" $startdir/$pkgname.install
+ gzip $pkgdir/lib/modules/extramodules-3.${_kernver}-ARCH/*.ko
}
diff --git a/community/open-vm-tools-modules/open-vm-tools-modules.install b/community/open-vm-tools-modules/open-vm-tools-modules.install
index 801d2c5b3..cdd13e929 100644
--- a/community/open-vm-tools-modules/open-vm-tools-modules.install
+++ b/community/open-vm-tools-modules/open-vm-tools-modules.install
@@ -1,4 +1,4 @@
-KERNEL_VERSION='2.6.38-ARCH'
+KERNEL_VERSION='3.1.0-4-ARCH'
post_install() {
depmod -a -v $KERNEL_VERSION > /dev/null 2>&1