1 # Maintainer: Tobias Powalowski <tpowa@archlinux.org>
2 # Maintainer: Thomas Baechler <thomas@archlinux.org>
7 pkgdesc="Kernel hackers manual - Section 9 manpages that comes with the Linux kernel."
9 url="http://www.kernel.org"
11 makedepends=('xmlto' 'docbook-xsl')
12 replaces=('kernel26-manpages')
13 conflicts=('kernel26-manpages')
14 provides=('kernel26-manpages')
16 # https://www.kernel.org/pub/linux/kernel/v4.x/sha256sums.asc
17 source=("https://www.kernel.org/pub/linux/kernel/v4.x/linux-${pkgver}.tar.xz")
18 sha256sums=('3c95d9f049bd085e5c346d2c77f063b8425f191460fcd3ae9fe7e94e0477dc4b')
21 cd "${srcdir}/linux-$pkgver"
26 cd "${srcdir}/linux-$pkgver"
28 sed -i -e "s:/usr/local/man/man9/:${pkgdir}/usr/share/man/man9/:g" Documentation/DocBook/Makefile
31 #install -d "${pkgdir}/usr/share/man/man9/"
32 #install "${srcdir}"/linux-$pkgver/Documentation/DocBook/man/*/*.9.gz "${pkgdir}/usr/share/man/man9/"
34 # find "${pkgdir}" -type f -exec chmod 644 {} \;