summaryrefslogtreecommitdiff
path: root/community/open-vm-tools-modules/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/open-vm-tools-modules/PKGBUILD')
-rw-r--r--community/open-vm-tools-modules/PKGBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/community/open-vm-tools-modules/PKGBUILD b/community/open-vm-tools-modules/PKGBUILD
index 3b7007215..d0ce60605 100644
--- a/community/open-vm-tools-modules/PKGBUILD
+++ b/community/open-vm-tools-modules/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 61571 2012-01-03 12:07:32Z spupykin $
+# $Id: PKGBUILD 62251 2012-01-18 19:54:06Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Krzysztof Raczkowski <raczkow@gmail.com>
pkgname=open-vm-tools-modules
pkgver=2011.12.20
_pkgsubver=562307
-pkgrel=1
+pkgrel=3
pkgdesc="kernel modules for the open source implementation of VMware Tools"
arch=('i686' 'x86_64' 'mips64el')
url="http://open-vm-tools.sourceforge.net/"
@@ -28,7 +28,7 @@ build() {
--without-x --with-kernel-release=$KERNEL_RELEASE
cd modules
- echo '#define COMPAT_LINUX_VERSION_CHECK_LT(a, b, c) 1' >>linux/shared/compat_version.h
+# echo '#define COMPAT_LINUX_VERSION_CHECK_LT(a, b, c) 1' >>linux/shared/compat_version.h
make modules
}
@@ -43,8 +43,8 @@ package() {
for MOD in `find -type f -name '*.ko'`; do
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
install -D -m 644 ${srcdir}/modprobe.conf ${pkgdir}/etc/modprobe.d/${pkgname}.conf
+ sed -i "s|extramodules-.*-ARCH|extramodules-3.${_kernver}-ARCH|" $startdir/$pkgname.install
}