1 # Maintainer: Andreas Radke <andyrtr@archlinux.org>
7 pkgdesc="Linux man pages"
9 license=('GPL' 'custom')
10 url="https://www.kernel.org/doc/man-pages/"
11 makedepends=('man2html' 'git')
12 # https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/
13 source=(https://www.kernel.org/pub/linux/docs/man-pages/$pkgname-$pkgver.tar.{xz,sign}
14 https://www.kernel.org/pub/linux/docs/man-pages/man-pages-posix/$pkgname-posix-${_posixver}.tar.{xz,sign})
15 # https://www.kernel.org/pub/linux/docs/man-pages/sha256sums.asc
16 sha256sums=('c2c0b9329955df81af45ee80ebc84c47291f95df5157db1fab988199f9371af1'
18 'ce67bb25b5048b20dad772e405a83f4bc70faf051afa289361c81f9660318bc3'
20 validpgpkeys=('E522595B52EDA4E6BFCCCB5E856199113A35CE5E') # Michael Kerrisk (Linux man-pages maintainer) <mtk.manpages@gmail.com>
22 validpgpkeys+=('A9348594CE31283A826FBDD8D57633D441E25BB5') # Alejandro Colomar Andres <alx.manpages@gmail.com>
25 cd "${srcdir}"/$pkgname-$pkgver
31 rm man5/tzfile.5 man8/{tzselect,zdump,zic}.8
32 # included in libxcrypt
37 cd "${srcdir}"/$pkgname-$pkgver
40 make DESTDIR="${pkgdir}" prefix=/usr install
43 pushd "${srcdir}"/$pkgname-posix-${_posixver%-*}
44 make DESTDIR="${pkgdir}" install
47 # posix pages have a custom license
48 install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
49 install -m644 "${srcdir}"/$pkgname-posix-${_posixver%-*}/POSIX-COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/POSIX-COPYRIGHT"