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