[arch-commits] Commit in linux-zen/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Wed Nov 6 12:31:22 UTC 2019
Date: Wednesday, November 6, 2019 @ 12:31:21
Author: heftig
Revision: 366848
Port more changes from linux trunk
Modified:
linux-zen/trunk/PKGBUILD
----------+
PKGBUILD | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-11-06 12:30:48 UTC (rev 366847)
+++ PKGBUILD 2019-11-06 12:31:21 UTC (rev 366848)
@@ -3,8 +3,9 @@
pkgbase=linux-zen
pkgver=5.3.8.1
pkgrel=1
-_srcver=${pkgver%.*}-zen${pkgver##*.}
-url="https://github.com/zen-kernel/zen-kernel/commits/v$_srcver"
+pkgdesc='Linux ZEN'
+_srctag=v${pkgver%.*}-zen${pkgver##*.}
+url="https://github.com/zen-kernel/zen-kernel/commits/$_srctag"
arch=(x86_64)
license=(GPL2)
makedepends=(
@@ -15,7 +16,7 @@
options=('!strip')
_srcname=zen-kernel
source=(
- "$_srcname::git+https://github.com/zen-kernel/zen-kernel?signed#tag=v$_srcver"
+ "$_srcname::git+https://github.com/zen-kernel/zen-kernel?signed#tag=$_srctag"
config # the main kernel config file
)
validpgpkeys=(
@@ -61,7 +62,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')
@@ -89,7 +90,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"
@@ -167,7 +168,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"
@@ -176,8 +177,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