diff options
Diffstat (limited to 'libre/virtualbox-parabola-modules/PKGBUILD')
-rw-r--r-- | libre/virtualbox-parabola-modules/PKGBUILD | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/libre/virtualbox-parabola-modules/PKGBUILD b/libre/virtualbox-parabola-modules/PKGBUILD index 7012d5943..d077c092a 100644 --- a/libre/virtualbox-parabola-modules/PKGBUILD +++ b/libre/virtualbox-parabola-modules/PKGBUILD @@ -4,11 +4,11 @@ pkgbase=virtualbox-modules pkgname=('virtualbox-modules' 'virtualbox-parabola-modules') pkgver=4.1.4 -pkgrel=3 +pkgrel=3.1 arch=('i686' 'x86_64') url='http://virtualbox.org' license=('GPL') -makedepends=('libstdc++5' 'bin86' 'dev86' 'iasl' 'libxslt' 'libxml2' 'libpng' 'libidl2' 'xalan-c' 'sdl' 'linux-headers') +makedepends=('libstdc++5' 'bin86' 'dev86' 'iasl' 'libxslt' 'libxml2' 'libpng' 'libidl2' 'xalan-c' 'sdl' 'linux-headers' 'linux-libre') [[ $CARCH == "x86_64" ]] && makedepends=("${makedepends[@]}" 'gcc-multilib' 'lib32-glibc') source=(http://download.virtualbox.org/virtualbox/${pkgver}/VirtualBox-${pkgver}.tar.bz2 LocalConfig.kmk 60-vboxguest.rules) @@ -17,12 +17,13 @@ md5sums=('dc6e6801b3823332b6ca2e9915221aae' 'ed1341881437455d9735875ddf455fbe') _extramodules=extramodules-3.1-LIBRE -_kernver="$(cat /lib/modules/${_extramodules}/version)" - -export KERN_DIR=/lib/modules/${_kernver}/build -export KERN_INCL=/usr/src/linux-${_kernver}/include/ build() { + _kernver="$(cat /lib/modules/${_extramodules}/version)" + + export KERN_DIR=/lib/modules/${_kernver}/build + export KERN_INCL=/usr/src/linux-${_kernver}/include/ + cd "$srcdir/VirtualBox-${pkgver}_OSE" cp "$srcdir/LocalConfig.kmk" . @@ -100,7 +101,3 @@ package_virtualbox-modules(){ sed -i -e "s/EXTRAMODULES='.*'/EXTRAMODULES='${_extramodules}'/" "$startdir/virtualbox-modules.install" } - -md5sums=('dc6e6801b3823332b6ca2e9915221aae' - 'b566518ba3ba3a513b91a75283cdedf8' - '13ff08388a54fd48cc04523380f26af6') |