summaryrefslogtreecommitdiff
path: root/libre/virtualbox-modules-lts/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/virtualbox-modules-lts/PKGBUILD')
-rw-r--r--libre/virtualbox-modules-lts/PKGBUILD28
1 files changed, 14 insertions, 14 deletions
diff --git a/libre/virtualbox-modules-lts/PKGBUILD b/libre/virtualbox-modules-lts/PKGBUILD
index 8ff59d712..da8583e87 100644
--- a/libre/virtualbox-modules-lts/PKGBUILD
+++ b/libre/virtualbox-modules-lts/PKGBUILD
@@ -1,13 +1,13 @@
# $Id$
# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
-# Maintainer (Parabola): Márcio Silva <coadde@adinet.com.uy>
-# Maintainer (Parabola): André Silva <andre.paulista@adinet.com.uy>
-# Maintainer (Parabola): Jorge López <jorginho@adinet.com.uy>
+# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
+# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
+# Maintainer (Parabola): Jorge López <jorginho@lavabit.com>
pkgbase=virtualbox-modules-lts
pkgname=('virtualbox-modules-lts' 'virtualbox-parabola-modules-lts')
-pkgver=4.1.14
-pkgrel=1
+pkgver=4.1.18
+pkgrel=2
arch=('i686' 'x86_64')
url='http://virtualbox.org'
license=('GPL')
@@ -15,14 +15,14 @@ makedepends=('libstdc++5' 'bin86' 'dev86' 'iasl' 'libxslt' 'libxml2' 'libpng' 'l
[[ $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)
-md5sums=('f8baa04e6d589bc6b1fb4e7079fbe414'
+md5sums=('38db0a87cba659b484af868b0c2bd3ac'
'4c88bd122677a35f68abd76eb01b378b'
'ed1341881437455d9735875ddf455fbe')
_extramodules=extramodules-3.0-LIBRE-LTS
-_kernver=$(pacman -Ss linux-libre-lts | awk 'NR==1{print $2}')-LIBRE-LTS
+_kernver=$(pacman -Q linux-libre-lts | awk '{ printf "%s-LIBRE-LTS", $2; exit }')
-export KERN_DIR=/lib/modules/${_kernver}/build
+export KERN_DIR=/usr/lib/modules/${_kernver}/build
export KERN_INCL=/usr/src/linux-${_kernver}/include/
build() {
@@ -65,7 +65,7 @@ package_virtualbox-parabola-modules-lts(){
for module in vboxguest.ko vboxsf.ko vboxvideo.ko; do
install -D -m644 ${module} \
- "$pkgdir/lib/modules/${_extramodules}/${module}"
+ "$pkgdir/usr/lib/modules/${_extramodules}/${module}"
done
install -D -m 0644 "$srcdir/60-vboxguest.rules" \
@@ -86,16 +86,16 @@ package_virtualbox-modules-lts(){
cd "$srcdir/VirtualBox-${pkgver}/out/linux.$BUILD_PLATFORM_ARCH/release/bin/src"
install -D -m644 vboxdrv.ko \
- "$pkgdir/lib/modules/${_extramodules}/vboxdrv.ko"
+ "$pkgdir/usr/lib/modules/${_extramodules}/vboxdrv.ko"
install -D -m644 vboxnetadp.ko \
- "$pkgdir/lib/modules/${_extramodules}/vboxnetadp.ko"
+ "$pkgdir/usr/lib/modules/${_extramodules}/vboxnetadp.ko"
install -D -m644 vboxnetflt.ko \
- "$pkgdir/lib/modules/${_extramodules}/vboxnetflt.ko"
+ "$pkgdir/usr/lib/modules/${_extramodules}/vboxnetflt.ko"
install -D -m644 vboxpci.ko \
- "$pkgdir/lib/modules/${_extramodules}/vboxpci.ko"
+ "$pkgdir/usr/lib/modules/${_extramodules}/vboxpci.ko"
- find "${pkgdir}" -name '*.ko' -exec gzip -9 {} \;
+ find "${pkgdir}" -name '*.ko' -exec gzip -9 {} +
}