diff options
author | John Schoenick | 2019-12-03 15:22:00 -0800 |
---|---|---|
committer | John Schoenick | 2019-12-03 15:48:42 -0800 |
commit | 372897010d55933ebafa5adf5ae17890b37bc8e6 (patch) | |
tree | 69b1f3cb45cd4d9d6161a15129afe7f34c36e876 /PKGBUILD | |
parent | a22b5f9e936fce4832e9f77ab283bdbb68059e88 (diff) | |
parent | 6832fba4ba9e556463ad96d2805a9b9718373c55 (diff) | |
download | aur-372897010d55933ebafa5adf5ae17890b37bc8e6.tar.gz |
Merge branch 'upstream' for 5.4.1
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 28 |
1 files changed, 10 insertions, 18 deletions
@@ -1,16 +1,16 @@ # Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> pkgbase=linux-fsync -pkgver=5.3.13.1 +pkgver=5.4.1.arch1 pkgrel=1 pkgdesc='Linux' -_srctag=v${pkgver%.*}-arch${pkgver##*.} +_srctag=v${pkgver%.*}-${pkgver##*.} url="https://git.archlinux.org/linux.git/log/?h=$_srctag" arch=(x86_64) license=(GPL2) makedepends=( - xmlto kmod inetutils bc libelf - python-sphinx python-sphinx_rtd_theme graphviz imagemagick + bc kmod libelf + xmlto python-sphinx python-sphinx_rtd_theme graphviz imagemagick git ) options=('!strip') @@ -26,7 +26,7 @@ validpgpkeys=( '8218F88849AAC522E94CF470A5E9288C4FA415FA' # Jan Alexander Steffens (heftig) ) sha256sums=('SKIP' - '10ee7800902b1d82f9c184b367c9d904f4dc48f6d9ce3277327e825d7ab690d1' + 'b7f23bbc09b6c571b76f851f0389386a6f3a64f3d7b1b8509c8550228b0f4537' 'b8a9225b4b5cbabac26398d11cc26566e4407d150dacb92f3411c9bb8cc23942') export KBUILD_BUILD_HOST=archlinux @@ -170,26 +170,18 @@ _package-headers() { } _package-docs() { - pkgdesc="Kernel hacker's manual for the $pkgdesc kernel" + pkgdesc="Documentation for the $pkgdesc kernel" cd $_srcname local builddir="$pkgdir/usr/lib/modules/$(<version)/build" msg2 "Installing documentation..." - mkdir -p "$builddir" - cp -t "$builddir" -a Documentation - - msg2 "Removing unneeded files..." - rm -rv "$builddir"/Documentation/{,output/}.[^.]* - - 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) + dst="${src#Documentation/}" + dst="$builddir/Documentation/${dst#output/}" + install -Dm644 "$src" "$dst" + done < <(find Documentation -name '.*' -prune -o ! -type d -print0) msg2 "Adding symlink..." mkdir -p "$pkgdir/usr/share/doc" |