summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPiotr Gorski2019-11-29 21:49:34 +0100
committerPiotr Gorski2019-11-29 21:49:34 +0100
commit7700fb69d3e138e703a178759eab7955dbbbc4bf (patch)
tree1fbd656c94f2f7550b4aaaaaf941647fa56c1deb
parent5d63deddfb403760b5463c3153096a119de4ee07 (diff)
downloadaur-7700fb69d3e138e703a178759eab7955dbbbc4bf.tar.gz
Sync with Arch
Signed-off-by: Piotr Gorski <lucjan.lucjanov@gmail.com>
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD22
2 files changed, 9 insertions, 18 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 080b077cbbe..ca200e92001 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,11 @@
pkgbase = linux-rt-bfq
pkgdesc = Linux RT-BFQ-dev
pkgver = 5.2.21.rt13
- pkgrel = 6
+ pkgrel = 7
url = https://github.com/sirlucjan/bfq-mq-lucjan
arch = x86_64
license = GPL2
makedepends = kmod
- makedepends = inetutils
makedepends = bc
makedepends = libelf
makedepends = python-sphinx
@@ -54,6 +53,6 @@ pkgname = linux-rt-bfq-headers
depends = linux-rt-bfq
pkgname = linux-rt-bfq-docs
- pkgdesc = Kernel hacker's manual for the Linux RT-BFQ-dev kernel
+ pkgdesc = Documentation for the Linux RT-BFQ-dev kernel
depends = linux-rt-bfq
diff --git a/PKGBUILD b/PKGBUILD
index 5bc71724078..d2820890b84 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -54,13 +54,13 @@ _rtpatchver=rt${_rtver}
pkgver=${_major}.${_minor}.${_rtpatchver}
_pkgver=${_major}.${_minor}
_srcname=linux-${_pkgver}
-pkgrel=6
+pkgrel=7
pkgdesc='Linux RT-BFQ-dev'
arch=('x86_64')
url="https://github.com/sirlucjan/bfq-mq-lucjan"
license=('GPL2')
options=('!strip')
-makedepends=('kmod' 'inetutils' 'bc' 'libelf' 'python-sphinx' 'python-sphinx_rtd_theme'
+makedepends=('kmod' 'bc' 'libelf' 'python-sphinx' 'python-sphinx_rtd_theme'
'graphviz' 'imagemagick')
#_lucjanpath="https://raw.githubusercontent.com/sirlucjan/kernel-patches/master/${_major}"
_lucjanpath="https://gitlab.com/sirlucjan/kernel-patches/raw/master/${_major}"
@@ -310,27 +310,19 @@ _package-headers() {
}
_package-docs() {
- pkgdesc="Kernel hacker's manual for the $pkgdesc kernel"
+ pkgdesc="Documentation for the $pkgdesc kernel"
depends=('linux-rt-bfq')
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"