diff options
author | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2012-08-03 18:53:07 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2012-08-03 18:53:07 -0300 |
commit | a182fc4db82e72b782c2de362badc2a19efd2f1a (patch) | |
tree | cd5ac3340f53e5bd5195e21724479d8dace3435b /libre | |
parent | 61f1039c13c5274997af5ba64cc924733a639a76 (diff) | |
download | abslibre-a182fc4db82e72b782c2de362badc2a19efd2f1a.tar.gz abslibre-a182fc4db82e72b782c2de362badc2a19efd2f1a.tar.bz2 abslibre-a182fc4db82e72b782c2de362badc2a19efd2f1a.zip |
virtualbox-libre-modules-lts-4.1.18-4: updating revision due new kernel version
Diffstat (limited to 'libre')
-rw-r--r-- | libre/virtualbox-libre-modules-lts/PKGBUILD | 10 |
1 files changed, 5 insertions, 5 deletions
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" |