summaryrefslogtreecommitdiff
path: root/libre/virtualbox-libre-modules/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/virtualbox-libre-modules/PKGBUILD')
-rw-r--r--libre/virtualbox-libre-modules/PKGBUILD19
1 files changed, 11 insertions, 8 deletions
diff --git a/libre/virtualbox-libre-modules/PKGBUILD b/libre/virtualbox-libre-modules/PKGBUILD
index a6c22c177..e7278298b 100644
--- a/libre/virtualbox-libre-modules/PKGBUILD
+++ b/libre/virtualbox-libre-modules/PKGBUILD
@@ -1,24 +1,27 @@
-# $Id: PKGBUILD 91728 2013-05-26 15:42:12Z tpowa $
+# $Id: PKGBUILD 94381 2013-07-22 13:58:51Z tpowa $
# Maintainer: Ionut Biru <ibiru@archlinux.org>
-# Maintainer: Sébastien Luttringer <seblu@archlinux.org>
+# Maintainer: Sébastien Luttringer
# Maintainer (Parabola): Jorge López <jorginho@lavabit.com>
# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
pkgbase=virtualbox-libre-modules
pkgname=('virtualbox-libre-host-modules' 'virtualbox-libre-guest-modules')
-pkgver=4.2.12
-pkgrel=6
+pkgver=4.2.16
+pkgrel=3
arch=('i686' 'x86_64')
url='http://virtualbox.org'
license=('GPL')
-makedepends=('linux-libre'
- 'linux-libre-headers'
+makedepends=('linux-libre>=3.10' 'linux-libre<3.11'
+ 'linux-libre-headers>=3.10' 'linux-libre-headers<3.11'
"virtualbox-libre-host-dkms>=$pkgver"
"virtualbox-libre-guest-dkms>=$pkgver"
'expac'
'sed'
'bc')
+# remember to also adjust the .install files and the package deps below
+_extramodules=extramodules-3.10-LIBRE
+
build() {
_kernmaj=$(expac -Q '%v' linux-libre|sed -r 's/([[:digit:]]+\.[[:digit:]]+).*/\1/')
_kernver=$(< /usr/lib/modules/extramodules-$_kernmaj-LIBRE/version)
@@ -38,7 +41,7 @@ package_virtualbox-libre-host-modules(){
_kernver=$(< /usr/lib/modules/extramodules-$_kernmaj-LIBRE/version)
pkgdesc='Host kernel modules for VirtualBox (built for the linux-libre kernel package)'
#depends=("linux-libre>=$_kernmaj" "linux-libre<$(echo "$_kernmaj+0.1"|bc)")
- depends=('linux-libre>=3.9' 'linux-libre<3.10')
+ depends=('linux-libre>=3.10' 'linux-libre<3.11')
provides=("virtualbox-host-modules=${pkgver}")
replaces=('virtualbox-host-modules' 'virtualbox-modules' 'virtualbox-libre-modules')
conflicts=('virtualbox-host-modules' 'virtualbox-modules' 'virtualbox-libre-modules')
@@ -57,7 +60,7 @@ package_virtualbox-libre-guest-modules(){
pkgdesc='Guest kernel modules for VirtualBox (built for the linux-libre kernel package)'
license=('GPL')
#depends=("linux-libre>=$_kernmaj" "linux-libre<$(echo "$_kernmaj+0.1"|bc)")
- depends=('linux-libre>=3.9' 'linux-libre<3.10')
+ depends=('linux-libre>=3.10' 'linux-libre<3.11')
provides=("virtualbox-guest-modules=${pkgver}")
replaces=('virtualbox-guest-modules' 'virtualbox-archlinux-modules' 'virtualbox-parabola-modules')
conflicts=('virtualbox-guest-modules' 'virtualbox-archlinux-modules' 'virtualbox-parabola-modules')