Port pkgdesc and docs changes from linux trunk

This commit is contained in:
Josip Ponjavic 2019-11-06 16:15:29 +01:00
parent 0ed6325708
commit f81ff9a713
2 changed files with 6 additions and 4 deletions

View file

@ -1,4 +1,5 @@
pkgbase = linux-clear
pkgdesc = Clear Linux
pkgver = 5.3.9
pkgrel = 1
url = https://github.com/clearlinux-pkgs/linux
@ -28,7 +29,7 @@ pkgbase = linux-clear
sha256sums = dbf4ac4b873ce6972e63b78d74ddba18f2701716163bb7f4b4fe5e909346a6e1
pkgname = linux-clear
pkgdesc = Clearlinux kernel and modules
pkgdesc = The Clear Linux kernel and modules
install = linux.install
depends = coreutils
depends = kmod
@ -39,5 +40,5 @@ pkgname = linux-clear
provides = WIREGUARD-MODULE
pkgname = linux-clear-headers
pkgdesc = Header files and scripts for building modules for linux-clear
pkgdesc = Headers and scripts for building modules for the Clear Linux kernel

View file

@ -69,6 +69,7 @@ _clr=${_major}.7-853
pkgbase=linux-clear
pkgver=${_major}.${_minor}
pkgrel=1
pkgdesc='Clear Linux'
arch=('x86_64')
url="https://github.com/clearlinux-pkgs/linux"
license=('GPL2')
@ -209,7 +210,7 @@ build() {
}
_package() {
pkgdesc="Clearlinux kernel and modules"
pkgdesc="The $pkgdesc kernel and modules"
depends=('coreutils' 'kmod' 'initramfs')
optdepends=('crda: to set the correct wireless channels of your country'
'linux-firmware: firmware images needed for some devices'
@ -241,7 +242,7 @@ _package() {
}
_package-headers() {
pkgdesc="Header files and scripts for building modules for linux-clear"
pkgdesc="Headers and scripts for building modules for the $pkgdesc kernel"
cd ${_srcname}
local builddir="$pkgdir/usr/lib/modules/$(<version)/build"