aboutsummaryrefslogtreecommitdiffstats
path: root/community/virtualbox-guest-modules-vanilla
diff options
context:
space:
mode:
authorJ0WI <J0WI@users.noreply.github.com>2018-12-31 02:37:48 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2018-12-31 14:32:03 +0000
commitc93151cf8f66ecdcc92fd46b5f73ef404d1c5b94 (patch)
tree8c4ce11f5cbdef7c7a27c8dffbe1f22d7585ee0b /community/virtualbox-guest-modules-vanilla
parent0145b799663ec7284c610b23eb943adc0600900c (diff)
downloadaports-c93151cf8f66ecdcc92fd46b5f73ef404d1c5b94.tar.bz2
aports-c93151cf8f66ecdcc92fd46b5f73ef404d1c5b94.tar.xz
community/virtualbox-guest-modules-vanilla: add check
Diffstat (limited to 'community/virtualbox-guest-modules-vanilla')
-rw-r--r--community/virtualbox-guest-modules-vanilla/APKBUILD12
1 files changed, 10 insertions, 2 deletions
diff --git a/community/virtualbox-guest-modules-vanilla/APKBUILD b/community/virtualbox-guest-modules-vanilla/APKBUILD
index 9dc6dde3df..c14ab3e3ab 100644
--- a/community/virtualbox-guest-modules-vanilla/APKBUILD
+++ b/community/virtualbox-guest-modules-vanilla/APKBUILD
@@ -4,7 +4,7 @@
# when chaning _ver we *must* bump _rel
_name=virtualbox-guest-modules
_ver=6.0.0
-_rel=0
+_rel=1
_flavor=${FLAVOR:-vanilla}
_kpkg=linux-$_flavor
@@ -21,7 +21,7 @@ pkgrel=$(($_krel + $_rel))
pkgdesc="VirtualBox Additions guest kernel modules for $_flavor"
arch='x86 x86_64'
-url='http://virtualbox.org'
+url='https://virtualbox.org'
license="GPL-2.0 custom"
makedepends="linux-vanilla-dev=$_kpkgver linux-virt-dev=$_kpkgver sed coreutils"
subpackages="$_name-virt:virt"
@@ -65,6 +65,14 @@ build() {
done
}
+check() {
+ local i
+ for i in $_kabi $_kabi_virt; do
+ cd "$srcdir/$i"
+ make KERN_DIR=/lib/modules/${i}/build check
+ done
+}
+
package() {
local i module=
for i in $_kabi $_kabi_virt; do