summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenjiTakahashi2016-10-22 20:10:53 +0200
committerKenjiTakahashi2016-10-22 20:10:53 +0200
commitda8a2122aae93331b34d38967b1db3f51cfe5454 (patch)
tree8d51caa1085437ae36029ec36dc72f22524e711d
parentbb59bb333355f2f8f8e0608df89ef477d62ea60d (diff)
downloadaur-da8a2122aae93331b34d38967b1db3f51cfe5454.tar.gz
5.1.8-2: Fix installation detection in the VBox script
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD8
2 files changed, 7 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4054da252450..9e43e89adde2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 806273d44a5e..55fdc7b2b030 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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"