Commit 833aeb97 authored by Chaoting Liu's avatar Chaoting Liu

virtualbox: add guest ISO

parent a7290e94
......@@ -7,6 +7,7 @@ pkgname=('virtualbox'
'virtualbox-sdk'
'virtualbox-guest-utils'
'virtualbox-guest-utils-nox'
'virtualbox-guest-iso'
'virtualbox-ext-vnc'
'virtualbox-ext-oracle')
pkgver=5.1.6
......@@ -54,6 +55,7 @@ makedepends=('alsa-lib'
'lib32-gcc-libs'
'lib32-glibc')
source=("http://download.virtualbox.org/virtualbox/$pkgver/VirtualBox-$pkgver.tar.bz2"
"http://download.virtualbox.org/virtualbox/$pkgver/VBoxGuestAdditions_$pkgver.iso"
'virtualbox-host-dkms.conf'
'virtualbox-guest-dkms.conf'
'virtualbox.sysusers'
......@@ -72,7 +74,9 @@ source=("http://download.virtualbox.org/virtualbox/$pkgver/VirtualBox-$pkgver.ta
'007-python2-path.patch'
'cxx11.patch'
'PUEL')
noextract=(VBoxGuestAdditions_$pkgver.iso)
sha256sums=('2e0112b0d85841587b8f212e6ba8f6c35b31e1cce6b6999497dc917cd37e6911'
'cbcf9b9b1000e09911b3d20e1efe529aef8a945cf130f6abffc14a39522cc1ed'
'deb03efa7ad0376aa55a087f2e882afe00935f10b0e7aa853ba9147090d341ec'
'113f9b92141b85df01f1e74d22f01d1f1aa81650eb79b89ceefc3cae20afe2e2'
'2101ebb58233bbfadf3aa74381f22f7e7e508559d2b46387114bc2d8e308554c'
......@@ -374,6 +378,16 @@ package_virtualbox-guest-utils-nox() {
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
package_virtualbox-guest-iso() {
pkgdesc='The official VirtualBox Guest Additions ISO image'
license=('custom:PUEL')
install=${pkgname}.install
install -Dm 644 VBoxGuestAdditions_$pkgver.iso \
"$pkgdir/usr/lib/virtualbox/additions/VBoxGuestAdditions.iso"
install -Dm 644 "$srcdir/PUEL" \
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
package_virtualbox-ext-vnc() {
pkgdesc='VirtualBox VNC extension pack'
depends=('virtualbox' 'libvncserver')
......
post_install() {
cat << EOF
===> virtualbox-guest-iso post install message:
===>
===> Redistribution of VBoxGuestAdditions.iso from the binary packages
===> on www.virtualbox.org with Arch Linux has been granted by
===> InnoTek Systemberatung GmbH.
===>
===> By using this package you accept
===> the VirtualBox Personal Use and Evaluation License (PUEL)
===> which can be found here: http://virtualbox.org/wiki/VirtualBox_PUEL
===>
===> If you do not accept this license, you must remove the package immediately.
===>
EOF
}
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