archrelease: copy trunk to extra-x86_64
[arch-packages.git] / linux-manpages / trunk / PKGBUILD
blob97d5a9ec86b6782cddc7788e4973ee6a2304838d
1 # Maintainer: Tobias Powalowski <tpowa@archlinux.org>
2 # Maintainer: Thomas Baechler <thomas@archlinux.org>
4 pkgname=linux-manpages
5 pkgver=4.10
6 pkgrel=1
7 pkgdesc="Kernel hackers manual - Section 9 manpages that comes with the Linux kernel."
8 arch=('any')
9 url="http://www.kernel.org"
10 license=('GPL2')
11 makedepends=('xmlto' 'docbook-xsl')
12 replaces=('kernel26-manpages')
13 conflicts=('kernel26-manpages')
14 provides=('kernel26-manpages')
15 options=('!zipman')
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')
20 build() {
21   cd "${srcdir}/linux-$pkgver"
22   make mandocs
25 package() {
26   cd "${srcdir}/linux-$pkgver"
27   # fix install path
28   sed -i -e "s:/usr/local/man/man9/:${pkgdir}/usr/share/man/man9/:g" Documentation/DocBook/Makefile
29   make installmandocs
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 {} \;