diff options
author | Matteo De Carlo | 2019-08-30 11:29:09 +0200 |
---|---|---|
committer | Matteo De Carlo | 2019-08-30 11:29:09 +0200 |
commit | b5bf6081a395500b6166ee9d4aecf16132c08942 (patch) | |
tree | e2690272ec21f577eb8f582d897b8dd7b58e1644 /PKGBUILD | |
parent | 4da8744c5cd922f0fa127075b8508a77da772173 (diff) | |
download | aur-b5bf6081a395500b6166ee9d4aecf16132c08942.tar.gz |
Update to kernel 5.2.10
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 18 |
1 files changed, 15 insertions, 3 deletions
@@ -5,7 +5,7 @@ # Contributor: Thomas Baechler <thomas at archlinux dot org> pkgbase=linux-covolunablu-gaming -_srcver=5.2.2-arch1 +_srcver=5.2.10-arch1 pkgver=${_srcver//-/.} pkgrel=1 arch=(x86_64) @@ -39,7 +39,7 @@ validpgpkeys=( '8218F88849AAC522E94CF470A5E9288C4FA415FA' # Jan Alexander Steffens (heftig) ) sha256sums=('SKIP' - 'ec88f500eb9e23786933b53e3f8b98eeca67282777cdbc9482737ac42ceb6052' + 'd26423fde8c5683fbccdf88ce55b2fd84abfec74a6d1f857da440f9702ddda59' 'ae2e95db94ef7176207c690224169594d49445e04249d2499e9d2fbc117a0b21' 'c043f3033bb781e2688794a59f6d1f7ed49ef9b13eb77ff9a425df33a244a636' 'ad6344badc91ad0630caacde83f7f9b97276f80d26a20619a87952be65492c65' @@ -81,7 +81,7 @@ prepare() { build() { cd $_srcname - make bzImage modules + make bzImage modules htmldocs } _package() { @@ -232,6 +232,18 @@ _package-docs() { mkdir -p "$builddir" cp -t "$builddir" -a Documentation + msg2 "Removing doctrees..." + rm -r "$builddir/Documentation/output/.doctrees" + + msg2 "Moving HTML docs..." + local src dst + while read -rd '' src; do + dst="$builddir/Documentation/${src#$builddir/Documentation/output/}" + mkdir -p "${dst%/*}" + mv "$src" "$dst" + rmdir -p --ignore-fail-on-non-empty "${src%/*}" + done < <(find "$builddir/Documentation/output" -type f -print0) + msg2 "Adding symlink..." mkdir -p "$pkgdir/usr/share/doc" ln -sr "$builddir/Documentation" "$pkgdir/usr/share/doc/$pkgbase" |