# $Id: PKGBUILD 206253 2014-02-22 23:04:56Z thomas $ # Maintainer: Tobias Powalowski # Maintainer: Thomas Baechler # Maintainer (Parabola): André Silva pkgname=linux-libre-manpages pkgver=3.13 pkgrel=1 pkgdesc="Kernel hackers manual - Section 9 manpages that comes with the Linux-libre kernel" arch=('any') url="http://linux-libre.fsfla.org/" license=('GPL2') makedepends=('xmlto' 'docbook-xsl') replaces=('kernel26-manpages' 'kernel26-libre-manpages' 'linux-manpages') conflicts=('kernel26-manpages' 'kernel26-libre-manpages' 'linux-manpages') provides=('kernel26-manpages' 'linux-manpages') source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/${pkgver}-gnu/linux-libre-${pkgver}-gnu.tar.xz") md5sums=('98a8e803e0ed08557f3cdd4d56b0ddc1') build() { cd "${srcdir}/linux-$pkgver" make mandocs } package() { install -d "${pkgdir}/usr/share/man/man9/" install "${srcdir}"/linux-$pkgver/Documentation/DocBook/man/*.9.gz \ "${pkgdir}/usr/share/man/man9/" find "${pkgdir}" -type f -exec chmod 644 {} \; }