diff options
author | KenjiTakahashi | 2016-10-22 20:10:53 +0200 |
---|---|---|
committer | KenjiTakahashi | 2016-10-22 20:10:53 +0200 |
commit | da8a2122aae93331b34d38967b1db3f51cfe5454 (patch) | |
tree | 8d51caa1085437ae36029ec36dc72f22524e711d | |
parent | bb59bb333355f2f8f8e0608df89ef477d62ea60d (diff) | |
download | aur-da8a2122aae93331b34d38967b1db3f51cfe5454.tar.gz |
5.1.8-2: Fix installation detection in the VBox script
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 7 insertions, 5 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Fri Oct 21 22:03:05 UTC 2016 +# Sat Oct 22 18:10:25 UTC 2016 pkgbase = virtualbox-headless pkgdesc = Powerful x86 virtualization for enterprise as well as home use. Headless build (no GUI, no Java). pkgver = 5.1.8 - pkgrel = 1 + pkgrel = 2 url = http://virtualbox.org install = virtualbox.install arch = i686 @@ -4,7 +4,7 @@ pkgname=virtualbox-headless pkgver=5.1.8 -pkgrel=1 +pkgrel=2 pkgdesc='Powerful x86 virtualization for enterprise as well as home use. Headless build (no GUI, no Java).' arch=('i686' 'x86_64') url='http://virtualbox.org' @@ -83,7 +83,7 @@ build() { --enable-webservice \ --enable-vde \ --enable-vnc \ - --disable-java \ + --disable-java \ --disable-kmods \ --with-makeself=/usr/bin/echo # fake makeself binary to compile without nofatal @@ -99,10 +99,12 @@ build() { } package() { - source "VirtualBox-$pkgver/env.sh" cd "VirtualBox-$pkgver/out/linux.$BUILD_PLATFORM_ARCH/release/bin" + # patch VBox.sh for headless only + sed -i '44,45s/VirtualBox/VBoxHeadless/' VBox.sh + # binaries install -dm755 "$pkgdir/usr/bin" install -m755 VBox.sh "$pkgdir/usr/bin/VBox" |