diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-07 03:09:25 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-07 03:09:25 +0000 |
commit | bd65dc7107bfdd881c3b5451d0300824cf435428 (patch) | |
tree | e3a556d41162da07c82e31daa6fc22af18719e63 /community-testing/open-vm-tools-modules | |
parent | 415856bdd4f48ab4f2732996f0bae58595092bbe (diff) |
Thu Apr 7 03:09:43 UTC 2011
Diffstat (limited to 'community-testing/open-vm-tools-modules')
-rw-r--r-- | community-testing/open-vm-tools-modules/PKGBUILD | 26 | ||||
-rw-r--r-- | community-testing/open-vm-tools-modules/open-vm-tools-modules.install | 1 |
2 files changed, 12 insertions, 15 deletions
diff --git a/community-testing/open-vm-tools-modules/PKGBUILD b/community-testing/open-vm-tools-modules/PKGBUILD index eb85e4e9c..7c9125ade 100644 --- a/community-testing/open-vm-tools-modules/PKGBUILD +++ b/community-testing/open-vm-tools-modules/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 42477 2011-03-16 21:51:11Z spupykin $ +# $Id: PKGBUILD 44312 2011-04-05 15:06:23Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Krzysztof Raczkowski <raczkow@gmail.com> pkgname=open-vm-tools-modules -pkgver=2011.02.23 -_pkgsubver=368700 +pkgver=2011.03.28 +_pkgsubver=387002 pkgrel=1 pkgdesc="The Open Virtual Machine Tools (open-vm-tools) are the open source implementation of VMware Tools." arch=('i686' 'x86_64') @@ -14,27 +14,25 @@ makedepends=('libdnet' 'icu' 'uriparser' 'kernel26-headers') depends=("kernel26") install=$pkgname.install source=(http://easynews.dl.sourceforge.net/sourceforge/open-vm-tools/open-vm-tools-$pkgver-${_pkgsubver}.tar.gz) -md5sums=('488601e384daeab2c6ffd81e1a95cad7') +md5sums=('a9c72ab0b8f7778d444e69e9d3b95527') build() { -_kernver=`pacman -Q kernel26 | cut -d . -f 3 | cut -f 1 -d -` -depends=("kernel26>=2.6.${_kernver}" "kernel26<2.6.`expr ${_kernver} + 1`") - - 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 - [ $NOEXTRACT -eq 1 ] || ./configure --prefix=/usr - (cd modules && make modules) +} + +package() { + _kernver=`pacman -Q kernel26 | cut -d . -f 3 | cut -f 1 -d -` + depends=("kernel26>=2.6.${_kernver}" "kernel26<2.6.`expr ${_kernver} + 1`") + KERNEL_VERSION="2.6.${_kernver}-ARCH" + msg "Kernel = $KERNEL_VERSION" + cd "$srcdir/open-vm-tools-${pkgver}-${_pkgsubver}" mkdir -p $pkgdir/lib/modules/$KERNEL_VERSION/misc/ for MOD in `find -type f -name '*.ko'`; do install -D -m644 $MOD $pkgdir/lib/modules/$KERNEL_VERSION/misc/ done - sed -i -e "s/KERNEL_VERSION='.*'/KERNEL_VERSION='$KERNEL_VERSION'/" $startdir/$pkgname.install } diff --git a/community-testing/open-vm-tools-modules/open-vm-tools-modules.install b/community-testing/open-vm-tools-modules/open-vm-tools-modules.install index 6ebc18c36..7f44b03ef 100644 --- a/community-testing/open-vm-tools-modules/open-vm-tools-modules.install +++ b/community-testing/open-vm-tools-modules/open-vm-tools-modules.install @@ -32,4 +32,3 @@ post_remove() { echo ">>> Remember to un-blacklist pcnet32 driver in /etc/rc.conf." echo ">>>" } - |