[arch-commits] Commit in linux-hardened/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Wed Nov 6 12:33:56 UTC 2019


    Date: Wednesday, November 6, 2019 @ 12:33:55
  Author: heftig
Revision: 366850

Port pkgdesc and docs changes from linux trunk

Modified:
  linux-hardened/trunk/PKGBUILD

----------+
 PKGBUILD |   11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-11-06 12:33:24 UTC (rev 366849)
+++ PKGBUILD	2019-11-06 12:33:55 UTC (rev 366850)
@@ -3,6 +3,7 @@
 pkgbase=linux-hardened
 pkgver=5.3.8.a
 pkgrel=1
+pkgdesc='Security-Hardened Linux'
 url='https://github.com/anthraxx/linux-hardened'
 arch=(x86_64)
 license=(GPL2)
@@ -65,7 +66,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'
@@ -94,7 +95,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"
@@ -172,7 +173,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"
@@ -181,8 +182,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