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/PKGBUILD12
1 files changed, 8 insertions, 4 deletions
diff --git a/community/open-vm-tools-modules/PKGBUILD b/community/open-vm-tools-modules/PKGBUILD
index 022db4869..83956d522 100644
--- a/community/open-vm-tools-modules/PKGBUILD
+++ b/community/open-vm-tools-modules/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 58321 2011-11-11 11:56:51Z spupykin $
+# $Id: PKGBUILD 58558 2011-11-14 12:47:57Z 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=2
+pkgrel=3
pkgdesc="kernel modules for the open source implementation of VMware Tools"
arch=('i686' 'x86_64')
url="http://open-vm-tools.sourceforge.net/"
@@ -14,8 +14,10 @@ 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')
+source=("http://downloads.sourceforge.net/open-vm-tools/open-vm-tools-$pkgver-${_pkgsubver}.tar.gz"
+ "modprobe.conf")
+md5sums=('06f299375a91fbcba9d16b5007490023'
+ 'ac9b8e3cb798f5056ca92767ec705117')
build() {
_kernver=`pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -`
@@ -40,4 +42,6 @@ package() {
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
}