diff options
author | root <root@rshg054.dnsready.net> | 2012-07-07 00:02:03 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-07-07 00:02:03 +0000 |
commit | b7c6c9c7844914d1d0617a24b9e3a84d691d1f64 (patch) | |
tree | e83e42e7aa3b5f01bbd1a22f539aa807e586e04b /libre/virtualbox-modules/PKGBUILD | |
parent | ce1cc063cc56f59a630e758c92a9f8ac67a24c32 (diff) |
Sat Jul 7 00:02:03 UTC 2012
Diffstat (limited to 'libre/virtualbox-modules/PKGBUILD')
-rw-r--r-- | libre/virtualbox-modules/PKGBUILD | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/libre/virtualbox-modules/PKGBUILD b/libre/virtualbox-modules/PKGBUILD index 2e747105a..50e9b0721 100644 --- a/libre/virtualbox-modules/PKGBUILD +++ b/libre/virtualbox-modules/PKGBUILD @@ -1,12 +1,12 @@ # $Id$ #Maintainer: Ionut Biru <ibiru@archlinux.org> -#Maintainer (Parabola): Jorge López <jorginho@adinet.com.uy> +#Maintainer (Parabola): Jorge López <jorginho@lavabit.com> #Contributor (Parabola): André Silva <emulatorman@lavabit.com> pkgbase=virtualbox-modules pkgname=('virtualbox-modules' 'virtualbox-parabola-modules') pkgver=4.1.18 -pkgrel=1 +pkgrel=2 arch=('i686' 'x86_64') url='http://virtualbox.org' license=('GPL') @@ -19,9 +19,9 @@ md5sums=('38db0a87cba659b484af868b0c2bd3ac' 'ed1341881437455d9735875ddf455fbe') _extramodules=extramodules-3.4-LIBRE -_kernver="$(cat /lib/modules/${_extramodules}/version || true)" +_kernver="$(cat /usr/lib/modules/${_extramodules}/version || true)" -export KERN_DIR=/lib/modules/${_kernver}/build +export KERN_DIR=/usr/lib/modules/${_kernver}/build export KERN_INCL=/usr/src/linux-${_kernver}/include/ build() { @@ -87,18 +87,18 @@ package_virtualbox-modules(){ 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 {} + sed -i -e "s/EXTRAMODULES='.*'/EXTRAMODULES='${_extramodules}'/" "$startdir/virtualbox-modules.install" } |