[arch-commits] Commit in linux-lts/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Wed Nov 6 12:33:24 UTC 2019
Date: Wednesday, November 6, 2019 @ 12:33:24
Author: heftig
Revision: 366849
Port pkgdesc and docs changes from linux trunk
Modified:
linux-lts/trunk/PKGBUILD
----------+
PKGBUILD | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-11-06 12:31:21 UTC (rev 366848)
+++ PKGBUILD 2019-11-06 12:33:24 UTC (rev 366849)
@@ -3,6 +3,7 @@
pkgbase=linux-lts
pkgver=4.19.81
pkgrel=1
+pkgdesc='LTS Linux'
url="https://www.kernel.org/"
arch=(x86_64)
license=(GPL2)
@@ -62,7 +63,7 @@
}
_package() {
- pkgdesc="The ${pkgbase/linux/Linux} 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')
@@ -90,7 +91,7 @@
}
_package-headers() {
- pkgdesc="Header files and scripts for building modules for ${pkgbase/linux/Linux} kernel"
+ pkgdesc="Headers and scripts for building modules for the $pkgdesc kernel"
cd $_srcname
local builddir="$pkgdir/usr/lib/modules/$(<version)/build"
@@ -171,7 +172,7 @@
}
_package-docs() {
- pkgdesc="Kernel hackers manual - HTML documentation that comes with the ${pkgbase/linux/Linux} kernel"
+ pkgdesc="Kernel hacker's manual for the $pkgdesc kernel"
cd $_srcname
local builddir="$pkgdir/usr/lib/modules/$(<version)/build"
@@ -180,8 +181,8 @@
mkdir -p "$builddir"
cp -t "$builddir" -a Documentation
- msg2 "Removing doctrees..."
- rm -r "$builddir/Documentation/output/.doctrees"
+ msg2 "Removing unneeded files..."
+ rm -rv "$builddir"/Documentation/{,output/}.[^.]*
msg2 "Moving HTML docs..."
local src dst
More information about the arch-commits
mailing list