Update Arch packages to make it Manjaro compatible
Add provides keyword to PKGBUILD with appropriate linux version.
This commit is contained in:
parent
09405e7408
commit
6dfe5409ee
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
pkgbase=linux-surface-lts
|
pkgbase=linux-surface-lts
|
||||||
pkgver=4.19.157
|
pkgver=4.19.157
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc='LTS Linux'
|
pkgdesc='LTS Linux'
|
||||||
url="https://www.kernel.org/"
|
url="https://www.kernel.org/"
|
||||||
arch=(x86_64)
|
arch=(x86_64)
|
||||||
|
@ -99,6 +99,7 @@ _package() {
|
||||||
depends=(coreutils kmod initramfs)
|
depends=(coreutils kmod initramfs)
|
||||||
optdepends=('crda: to set the correct wireless channels of your country'
|
optdepends=('crda: to set the correct wireless channels of your country'
|
||||||
'linux-firmware: firmware images needed for some devices')
|
'linux-firmware: firmware images needed for some devices')
|
||||||
|
provides=("linux=${pkgver}")
|
||||||
|
|
||||||
cd $_srcname
|
cd $_srcname
|
||||||
local kernver="$(<version)"
|
local kernver="$(<version)"
|
||||||
|
@ -131,6 +132,7 @@ _package() {
|
||||||
|
|
||||||
_package-headers() {
|
_package-headers() {
|
||||||
pkgdesc="Headers and scripts for building modules for the $pkgdesc kernel"
|
pkgdesc="Headers and scripts for building modules for the $pkgdesc kernel"
|
||||||
|
provides=("linux-headers=${pkgver}")
|
||||||
|
|
||||||
cd $_srcname
|
cd $_srcname
|
||||||
local builddir="$pkgdir/usr/lib/modules/$(<version)/build"
|
local builddir="$pkgdir/usr/lib/modules/$(<version)/build"
|
||||||
|
|
|
@ -3,8 +3,9 @@
|
||||||
|
|
||||||
pkgbase=linux-surface
|
pkgbase=linux-surface
|
||||||
pkgver=5.9.8.arch1
|
pkgver=5.9.8.arch1
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc='Linux'
|
pkgdesc='Linux'
|
||||||
|
_shortver=${pkgver%.*}
|
||||||
_fullver=${pkgver%.*}-${pkgver##*.}
|
_fullver=${pkgver%.*}-${pkgver##*.}
|
||||||
_srctag=v${_fullver}
|
_srctag=v${_fullver}
|
||||||
url="https://git.archlinux.org/linux.git/log/?h=$_srctag"
|
url="https://git.archlinux.org/linux.git/log/?h=$_srctag"
|
||||||
|
@ -96,7 +97,7 @@ _package() {
|
||||||
depends=(coreutils kmod initramfs)
|
depends=(coreutils kmod initramfs)
|
||||||
optdepends=('crda: to set the correct wireless channels of your country'
|
optdepends=('crda: to set the correct wireless channels of your country'
|
||||||
'linux-firmware: firmware images needed for some devices')
|
'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)
|
replaces=(virtualbox-guest-modules-arch wireguard-arch)
|
||||||
|
|
||||||
cd $_srcname
|
cd $_srcname
|
||||||
|
@ -127,6 +128,7 @@ _package() {
|
||||||
|
|
||||||
_package-headers() {
|
_package-headers() {
|
||||||
pkgdesc="Headers and scripts for building modules for the $pkgdesc kernel"
|
pkgdesc="Headers and scripts for building modules for the $pkgdesc kernel"
|
||||||
|
provides=("linux-headers=${_shortver}")
|
||||||
|
|
||||||
cd $_srcname
|
cd $_srcname
|
||||||
local builddir="$pkgdir/usr/lib/modules/$(<version)/build"
|
local builddir="$pkgdir/usr/lib/modules/$(<version)/build"
|
||||||
|
|
Loading…
Reference in a new issue