# Maintainer: Erich Eckner # Contributor: Sébastien Luttringer pkgname=virtualbox-ext-oracle pkgver=7.0.20 pkgrel=1 pkgdesc='Oracle VM VirtualBox Extension Pack' arch=('any') url='http://www.virtualbox.org/' license=('custom:PUEL') options=('!strip') install=virtualbox-ext-oracle.install source=("http://download.virtualbox.org/virtualbox/$pkgver/Oracle_VM_VirtualBox_Extension_Pack-$pkgver.vbox-extpack") noextract=("Oracle_VM_VirtualBox_Extension_Pack-$pkgver.vbox-extpack") sha512sums=('b0ba22299a9bb81f47fb4c7f4117b1b5210a72973da723185c6d87fe192f7ab0ea0eb9fae6671b84332a234ead8539375976c87c483628449812e617c42598c7') prepare() { # shrink uneeded cpuarch [[ -d shrunk ]] || mkdir shrunk tar xfC "Oracle_VM_VirtualBox_Extension_Pack-$pkgver.vbox-extpack" shrunk rm -r shrunk/{darwin*,solaris*,win*} tar -c --gzip --file shrunk.vbox-extpack -C shrunk . } package() { depends=('virtualbox') optdepends=('rdesktop: client to connect vm via RDP') install -Dm 644 shrunk.vbox-extpack \ "$pkgdir/usr/share/virtualbox/extensions/Oracle_VM_VirtualBox_Extension_Pack-$pkgver.vbox-extpack" install -Dm 644 shrunk/ExtPack-license.txt \ "$pkgdir/usr/share/licenses/$pkgname/PUEL" } # vim:set ts=2 sw=2 et: