From 3ead601c9d984c3f9dbfe1ca76a82ed274ce053a Mon Sep 17 00:00:00 2001 From: Jan Alexander Steffens Date: Fri, 29 Nov 2019 14:56:15 +0000 Subject: [PATCH] 5.4.1.arch1-1 --- PKGBUILD | 36 +++++++++++++++++++++++++++++++----- config | 2 +- 2 files changed, 32 insertions(+), 6 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index d81cc2c..ed7d808 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,14 +1,18 @@ # Maintainer: Jan Alexander Steffens (heftig) pkgbase=linux -pkgver=5.4.arch1 +pkgver=5.4.1.arch1 pkgrel=1 pkgdesc='Linux' _srctag=v${pkgver%.*}-${pkgver##*.} url="https://git.archlinux.org/linux.git/log/?h=$_srctag" arch=(x86_64) license=(GPL2) -makedepends=(bc kmod libelf git) +makedepends=( + bc kmod libelf + xmlto python-sphinx python-sphinx_rtd_theme graphviz imagemagick + git +) options=('!strip') _srcname=archlinux-linux source=( @@ -21,7 +25,7 @@ validpgpkeys=( '8218F88849AAC522E94CF470A5E9288C4FA415FA' # Jan Alexander Steffens (heftig) ) sha256sums=('SKIP' - 'bbf6f0f69de9b1aefc2374da6b289a132b945e87a94ec85728097c677ebbac3f') + 'b7f23bbc09b6c571b76f851f0389386a6f3a64f3d7b1b8509c8550228b0f4537') export KBUILD_BUILD_HOST=archlinux export KBUILD_BUILD_USER=$pkgbase @@ -54,7 +58,7 @@ prepare() { build() { cd $_srcname - make bzImage modules + make bzImage modules htmldocs } _package() { @@ -163,7 +167,29 @@ _package-headers() { chmod -Rc u=rwX,go=rX "$pkgdir" } -pkgname=("$pkgbase" "$pkgbase-headers") +_package-docs() { + pkgdesc="Documentation for the $pkgdesc kernel" + + cd $_srcname + local builddir="$pkgdir/usr/lib/modules/$(