From a182fc4db82e72b782c2de362badc2a19efd2f1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Fabian=20Silva=20Delgado?= Date: Fri, 3 Aug 2012 18:53:07 -0300 Subject: virtualbox-libre-modules-lts-4.1.18-4: updating revision due new kernel version --- libre/virtualbox-libre-modules-lts/PKGBUILD | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'libre/virtualbox-libre-modules-lts/PKGBUILD') diff --git a/libre/virtualbox-libre-modules-lts/PKGBUILD b/libre/virtualbox-libre-modules-lts/PKGBUILD index b571d605b..3de090703 100644 --- a/libre/virtualbox-libre-modules-lts/PKGBUILD +++ b/libre/virtualbox-libre-modules-lts/PKGBUILD @@ -7,7 +7,7 @@ pkgbase=virtualbox-libre-modules-lts pkgname=('virtualbox-libre-modules-lts' 'virtualbox-libre-parabola-modules-lts') pkgver=4.1.18 -pkgrel=3.1 +pkgrel=4 arch=('i686' 'x86_64') url='http://virtualbox.org' license=('GPL') @@ -48,12 +48,12 @@ md5sums=('38db0a87cba659b484af868b0c2bd3ac' 'f7d275fc52e5f3cfafd85646c2914063') _extramodules=extramodules-3.0-LIBRE-LTS -_kernver=3.0.38-1-LIBRE-LTS - -export KERN_DIR=/usr/lib/modules/${_kernver}/build/ -export KERN_INCL=/usr/src/linux-${_kernver}/include/ build() { + _kernver="$(cat /usr/lib/modules/${_extramodules}/version)" + export KERN_DIR=/usr/lib/modules/${_kernver}/build/ + export KERN_INCL=/usr/src/linux-${_kernver}/include/ + cd "$srcdir/VirtualBox-${pkgver}" patch -Np1 -i "$srcdir/libre.patch" -- cgit v1.2.3-2-g168b