Commit 70864a32 authored by Michael's avatar Michael

virtualbox: 4.3.0

parent 54966f09
......@@ -9,17 +9,16 @@
pkgbase=virtualbox
pkgname=('virtualbox' 'virtualbox-ext-oracle' 'virtualbox-guest-additions')
pkgver=4.2.18
_build_virtualbox=88781
_build_extension=88780
pkgrel=2
pkgver=4.3.0
_build_virtualbox=89960
pkgrel=1
arch=('x86_64')
url='http://virtualbox.org/'
license=('GPL2' 'custom:PUEL')
options=('!strip')
makedepends=('libidl2' 'libxcursor' 'libxinerama' 'libxslt' 'curl' 'linux-headers' 'python2' 'make' 'gcc')
source=("VirtualBox-${pkgver}-${_build_virtualbox}-Linux_amd64.run::http://download.virtualbox.org/virtualbox/${pkgver}/VirtualBox-${pkgver}-${_build_virtualbox}-Linux_amd64.run"
"http://download.virtualbox.org/virtualbox/${pkgver}/Oracle_VM_VirtualBox_Extension_Pack-${pkgver}-${_build_extension}.vbox-extpack"
"http://download.virtualbox.org/virtualbox/${pkgver}/Oracle_VM_VirtualBox_Extension_Pack-${pkgver}-${_build_virtualbox}.vbox-extpack"
"http://download.virtualbox.org/virtualbox/${pkgver}/VBoxGuestAdditions_${pkgver}.iso"
'10-vboxdrv.rules'
'vboxdrv.conf'
......@@ -31,9 +30,9 @@ source=("VirtualBox-${pkgver}-${_build_virtualbox}-Linux_amd64.run::http://downl
'vboxsetup.sh'
'PUEL'
'vboxservice.service')
sha256sums=('2fdc201bb24fe7268dd034b8f22f1d245ed7c9ea2fcbe34f512615e56590abc2'
'1d1737b59d0f30f5d42beeabaff168bdc0a75b8b28df685979be6173e5adbbba'
'f11a7f13dfe7bf9f246fb877144bb467fe6deadcd876568ec79b6ccd3b59d767'
sha256sums=('ee4357c07d83a8a4def25553ae725e46b9d6bd9debc4b26bfae8a39bb4f20899'
'718c822acedce96c6ab2af93ec8efdf1789bdd03b7cfabb2c9d2f94e2047b399'
'eb6337ddd2d19d16ad7a9dafeea4fa49804e3d7ff217313250a5d14f34cefc97'
'f4182fa7c3f109aefb7da84f16bc40f34c46eb768144e7ab373b9311c41f175b'
'71740893a5f226f9d9fcc607ab9d39b7de816b2759625b34da19162bc7e579ff'
'12dbba3b59991f2b68cddeeeda20236aeff63e11b7e2d1b08d9d6a82225f6651'
......@@ -172,11 +171,11 @@ package_virtualbox() {
install -d -m 0755 "${pkgdir}/var/run/VirtualBox"
# Use system's Qt
rm ${pkgdir}/opt/VirtualBox/libQtCoreVBox.so.4
rm ${pkgdir}/opt/VirtualBox/libQtGuiVBox.so.4
rm ${pkgdir}/opt/VirtualBox/libQtOpenGLVBox.so.4
rm ${pkgdir}/opt/VirtualBox/libQtNetworkVBox.so.4
cd ${pkgdir}/opt/VirtualBox
rm "${pkgdir}/opt/VirtualBox/libQtCoreVBox.so.4"
rm "${pkgdir}/opt/VirtualBox/libQtGuiVBox.so.4"
rm "${pkgdir}/opt/VirtualBox/libQtOpenGLVBox.so.4"
rm "${pkgdir}/opt/VirtualBox/libQtNetworkVBox.so.4"
cd "${pkgdir}/opt/VirtualBox"
ln -s /usr/lib/libQtCore.so.4 libQtCoreVBox.so.4
ln -s /usr/lib/libQtGui.so.4 libQtGuiVBox.so.4
ln -s /usr/lib/libQtOpenGL.so.4 libQtOpenGLVBox.so.4
......@@ -192,7 +191,7 @@ package_virtualbox-ext-oracle() {
cd "${srcdir}"
install -D -m 644 "Oracle_VM_VirtualBox_Extension_Pack-${pkgver}-${_build_extension}.vbox-extpack" \
install -D -m 644 "Oracle_VM_VirtualBox_Extension_Pack-${pkgver}-${_build_virtualbox}.vbox-extpack" \
"${pkgdir}/usr/share/virtualbox/extensions/Oracle_VM_VirtualBox_Extension_Pack-${pkgver}.vbox-extpack"
install -D -m 644 PUEL "${pkgdir}/usr/share/licenses/${pkgname}/PUEL"
}
......@@ -204,8 +203,6 @@ package_virtualbox-guest-additions() {
depends=('linux-headers' 'make' 'gcc')
install=${pkgname}.install
cd "${srcdir}"
# Install VBoxLinuxAdditions
install -Dm0755 VBoxLinuxAdditions.run "${pkgdir}/usr/share/virtualbox/guest-additions/VBoxLinuxAdditions.run"
......
......@@ -3,10 +3,12 @@ created_rclocal=0
# arg 1: the new package version
post_install() {
vbox_create_workaround
# Run the VBoxLinuxAdditions Skript
/usr/share/virtualbox/guest-additions/VBoxLinuxAdditions.run
modprobe vboxsf
vbox_remove_workaround
# Show information
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment