summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSid2021-09-18 17:25:33 +0530
committerSid2021-09-18 17:25:33 +0530
commitd1b259734b677390e8a569f3118f577e892bd7d5 (patch)
treea0e18925c4e0894671faf0466e86d33d2db19c47
parent99c77e5ac941f88f3fcbee5feef46e0b337e3dd9 (diff)
downloadaur-d1b259734b677390e8a569f3118f577e892bd7d5.tar.gz
Allow using with bbswitch-mainline
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD4
2 files changed, 6 insertions, 1 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9d91f4d66841..2458940cbaf7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -37,12 +37,15 @@ pkgname = linux-mainline-anbox
optdepends = linux-firmware: firmware images needed for some devices
provides = VIRTUALBOX-GUEST-MODULES
provides = WIREGUARD-MODULE
+ provides = linux-mainline
replaces = virtualbox-guest-modules-mainline
replaces = wireguard-maineline
pkgname = linux-mainline-anbox-headers
pkgdesc = Headers and scripts for building modules for the Linux Mainline with ashmem and binder modules enabled kernel
depends = pahole
+ provides = linux-mainline-headers
pkgname = linux-mainline-anbox-docs
pkgdesc = Documentation for the Linux Mainline with ashmem and binder modules enabled kernel
+ provides = linux-mainline-docs
diff --git a/PKGBUILD b/PKGBUILD
index b9224682d93c..21dce630020f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -75,7 +75,7 @@ _package() {
depends=(coreutils kmod initramfs)
optdepends=('crda: to set the correct wireless channels of your country'
'linux-firmware: firmware images needed for some devices')
- provides=(VIRTUALBOX-GUEST-MODULES WIREGUARD-MODULE)
+ provides=(VIRTUALBOX-GUEST-MODULES WIREGUARD-MODULE linux-mainline)
replaces=(virtualbox-guest-modules-mainline wireguard-maineline)
cd $_srcname
@@ -99,6 +99,7 @@ _package() {
_package-headers() {
pkgdesc="Headers and scripts for building modules for the $pkgdesc kernel"
+ provides=(linux-mainline-headers)
depends=(pahole)
cd $_srcname
@@ -181,6 +182,7 @@ _package-headers() {
_package-docs() {
pkgdesc="Documentation for the $pkgdesc kernel"
+ provides=(linux-mainline-docs)
cd $_srcname
local builddir="$pkgdir/usr/lib/modules/$(<version)/build"