summaryrefslogtreecommitdiff
path: root/libre/virtualbox-libre-modules/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-07-30 20:47:05 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-07-30 20:47:05 -0300
commita37673557e00300ba787a0052e8d8f2bac383e3b (patch)
treec51f7e06a37bc9b41c12920aea5c038741b12e00 /libre/virtualbox-libre-modules/PKGBUILD
parentfebf8acf9f2724b614111a09e18f154d1c4b0012 (diff)
virtualbox-libre-modules-4.1.18-6: updating revision due kernel updating
Diffstat (limited to 'libre/virtualbox-libre-modules/PKGBUILD')
-rw-r--r--libre/virtualbox-libre-modules/PKGBUILD12
1 files changed, 8 insertions, 4 deletions
diff --git a/libre/virtualbox-libre-modules/PKGBUILD b/libre/virtualbox-libre-modules/PKGBUILD
index ef63d7ff0..d1b6f5fae 100644
--- a/libre/virtualbox-libre-modules/PKGBUILD
+++ b/libre/virtualbox-libre-modules/PKGBUILD
@@ -6,7 +6,7 @@
pkgbase=virtualbox-libre-modules
pkgname=('virtualbox-libre-modules' 'virtualbox-libre-parabola-modules')
pkgver=4.1.18
-pkgrel=5.1
+pkgrel=6
arch=('i686' 'x86_64')
url='http://virtualbox.org'
license=('GPL')
@@ -47,12 +47,16 @@ md5sums=('38db0a87cba659b484af868b0c2bd3ac'
'f7d275fc52e5f3cfafd85646c2914063')
_extramodules=extramodules-3.5-LIBRE
-_kernver="$(cat /usr/lib/modules/${_extramodules}/version || true)"
-export KERN_DIR=/usr/lib/modules/${_kernver}/build
-export KERN_INCL=/usr/src/linux-${_kernver}/include/
+
+
build() {
+ _kernver="$(cat /usr/lib/modules/${_extramodules}/version || true)"
+
+ 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"