Merge pull request #343 from a-andreyev/arch-manjaro-compat

Update Arch packages to make it Manjaro compatible
This commit is contained in:
Maximilian Luz 2020-11-23 23:50:28 +01:00 committed by GitHub
commit ac880787f3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 3 deletions

View file

@ -2,7 +2,7 @@
pkgbase=linux-surface-lts
pkgver=4.19.157
pkgrel=1
pkgrel=2
pkgdesc='LTS Linux'
url="https://www.kernel.org/"
arch=(x86_64)
@ -99,6 +99,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=("linux=${pkgver}")
cd $_srcname
local kernver="$(<version)"
@ -131,6 +132,7 @@ _package() {
_package-headers() {
pkgdesc="Headers and scripts for building modules for the $pkgdesc kernel"
provides=("linux-headers=${pkgver}")
cd $_srcname
local builddir="$pkgdir/usr/lib/modules/$(<version)/build"

View file

@ -3,8 +3,9 @@
pkgbase=linux-surface
pkgver=5.9.8.arch1
pkgrel=1
pkgrel=2
pkgdesc='Linux'
_shortver=${pkgver%.*}
_fullver=${pkgver%.*}-${pkgver##*.}
_srctag=v${_fullver}
url="https://git.archlinux.org/linux.git/log/?h=$_srctag"
@ -96,7 +97,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=${_shortver})
replaces=(virtualbox-guest-modules-arch wireguard-arch)
cd $_srcname
@ -127,6 +128,7 @@ _package() {
_package-headers() {
pkgdesc="Headers and scripts for building modules for the $pkgdesc kernel"
provides=("linux-headers=${_shortver}")
cd $_srcname
local builddir="$pkgdir/usr/lib/modules/$(<version)/build"