diff options
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 39 |
2 files changed, 5 insertions, 40 deletions
@@ -1,6 +1,6 @@ pkgbase = linux-cdown-mmots-git pkgver = 5.1.0.rc6.mm1 - pkgrel = 2 + pkgrel = 3 url = https://github.com/cdown/linux-mmots arch = x86_64 license = GPL2 @@ -12,7 +12,6 @@ pkgbase = linux-cdown-mmots-git makedepends = git makedepends = python-sphinx makedepends = graphviz - makedepends = python-sphinx_rtd_theme options = !strip source = archlinux-linux::git+https://github.com/cdown/linux-mmots#branch=dogfooding source = config @@ -41,6 +40,3 @@ pkgname = linux-cdown-mmots-git pkgname = linux-cdown-mmots-git-headers pkgdesc = Header files and scripts for building modules for Linux-cdown-mmots-git kernel -pkgname = linux-cdown-mmots-git-docs - pkgdesc = Kernel hackers manual - HTML documentation that comes with the Linux-cdown-mmots-git kernel - @@ -5,11 +5,11 @@ pkgbase=linux-cdown-mmots-git # Build stock -ARCH kernel _srcver=5.1.0-rc6-mm1 pkgver=${_srcver//-/.} -pkgrel=2 +pkgrel=3 arch=(x86_64) url="https://github.com/cdown/linux-mmots" license=(GPL2) -makedepends=(xmlto kmod inetutils bc libelf git python-sphinx graphviz python-sphinx_rtd_theme) +makedepends=(xmlto kmod inetutils bc libelf git python-sphinx graphviz) options=('!strip') _srcname=archlinux-linux source=( @@ -62,7 +62,7 @@ prepare() { build() { cd $_srcname - make bzImage modules htmldocs + make bzImage modules } _package() { @@ -202,38 +202,7 @@ _package-headers() { chmod -Rc u=rwX,go=rX "$pkgdir" } -_package-docs() { - pkgdesc="Kernel hackers manual - HTML documentation that comes with the ${pkgbase/linux/Linux} kernel" - - local builddir="$pkgdir/usr/lib/modules/$(<version)/build" - - cd $_srcname - - msg2 "Installing documentation..." - 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" - - msg2 "Fixing permissions..." - chmod -Rc u=rwX,go=rX "$pkgdir" -} - -pkgname=("$pkgbase" "$pkgbase-headers" "$pkgbase-docs") +pkgname=("$pkgbase" "$pkgbase-headers") for _p in "${pkgname[@]}"; do eval "package_$_p() { $(declare -f "_package${_p#$pkgbase}") |