diff --git a/virtualbox/PKGBUILD b/virtualbox/PKGBUILD index d890ac4b1..2e0824254 100644 --- a/virtualbox/PKGBUILD +++ b/virtualbox/PKGBUILD @@ -11,7 +11,7 @@ pkgname=('virtualbox' 'virtualbox-ext-vnc' 'virtualbox-ext-oracle') pkgver=5.1.8 -pkgrel=1 +pkgrel=2 arch=('x86_64') url='http://virtualbox.org' license=('GPL') @@ -290,6 +290,8 @@ package_virtualbox-host-dkms() { install -dm 755 "$pkgdir/var/lib/dkms/vboxhost/$pkgver" ln -s "/usr/src/vboxhost-${pkgver}_OSE/" "$pkgdir/var/lib/dkms/vboxhost/$pkgver/source" + + sed -i -e "s/vboxver=.*/vboxver=${pkgver}/" "${startdir}/virtualbox-host-dkms.install" } package_virtualbox-guest-dkms() {