summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorDavid C. Rankin2019-09-21 03:44:54 -0500
committerDavid C. Rankin2019-09-21 03:44:54 -0500
commiteea6566e3c876ded0f1ade978d7b4df1a6925e7d (patch)
treea4511e9ffa2ac16cb69b0eb4dd20e3d9b67e0392 /PKGBUILD
parentd35a9569a28bd5d2799c1b3dfa36b9f7893f3949 (diff)
downloadaur-virtualbox-bin-5.tar.gz
virtualbox-bin-5 5.2.32-2 Linux-5.3
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD10
1 files changed, 9 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 0c43c5909cf..c46700611de 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=virtualbox-bin-5
pkgver=5.2.32
_build=132073
_rev=75085
-pkgrel=1
+pkgrel=2
pkgdesc='Oracle VM VirtualBox Binary Edition (Oracle branded non-OSE version 5)'
arch=('x86_64')
url='https://www.virtualbox.org/'
@@ -33,6 +33,7 @@ source=("https://download.virtualbox.org/virtualbox/${pkgver}/VirtualBoxSDK-${pk
'do_dkms'
'dkms.conf'
'009-include-path.patch'
+ '015-linux-5-3.patch'
"http://download.virtualbox.org/virtualbox/${pkgver}/VirtualBox-${pkgver}-${_build}-Linux_amd64.run")
noextract=("VirtualBoxSDK-${pkgver}-${_build}.zip")
sha256sums=('bc172f227b1f894434fad47eb614b2504ff0c66c0dcf0bd3f3b92f12254f2e29'
@@ -46,6 +47,7 @@ sha256sums=('bc172f227b1f894434fad47eb614b2504ff0c66c0dcf0bd3f3b92f12254f2e29'
'cc1c0500ab07bc13563d99037f776bf64bdc90bb521e31e2e0b04e42ea5bb36a'
'e9df0fff15184d0a90abe17707bdbe1931582433bbc14ded4fb3b0252653c801'
'5112f0e1ba3bd0bd92ef2edb2d21024e265abb02841aa29aa05410526adc273f'
+ '37593d09bcde15a056b93d56ad47877a9bbac140474da2c66648871a0537998a'
'f0dd3897338016e601a0f5d9e9223f77f6366bade181ca2b440b3fdb0ed2cf48')
prepare() {
@@ -79,6 +81,12 @@ package() {
cd "${pkgdir}/${_installdir}/src/vboxhost/"
patch -Np5 -i "${srcdir}/009-include-path.patch"
+ # fix dkms build
+ printf '%s\n' " -> Fixing DKMS build..."
+ cd "${pkgdir}/${_installdir}"
+ # patch -Np1 -i "${srcdir}/013-Makefile.patch"
+ patch -Np1 -i "${srcdir}/015-linux-5-3.patch"
+
# hardened build: mark binaries suid root, create symlinks for working around
# unsupported $ORIGIN/.. in VBoxC.so and make sure the
# directory is only writable by the user (paranoid)