summaryrefslogtreecommitdiff
path: root/libre/linux-libre-manpages/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-02-18 01:56:34 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-02-18 01:56:34 +0000
commit8185891e28635bdb83fdf4ba4391030912dae596 (patch)
tree66a946535bdd228514750233b2cc99dd1866ff64 /libre/linux-libre-manpages/PKGBUILD
parent60a11f87366fdfbd114cdc91ff813518858e5f8d (diff)
Tue Feb 18 01:56:27 UTC 2014
Diffstat (limited to 'libre/linux-libre-manpages/PKGBUILD')
-rw-r--r--libre/linux-libre-manpages/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/libre/linux-libre-manpages/PKGBUILD b/libre/linux-libre-manpages/PKGBUILD
new file mode 100644
index 000000000..877805172
--- /dev/null
+++ b/libre/linux-libre-manpages/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 199517 2013-11-13 23:06:20Z thomas $
+# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
+# Maintainer: Thomas Baechler <thomas@archlinux.org>
+# Maintainer (Parabola): André Silva <emulatorman@parabola.nu>
+
+pkgname=linux-libre-manpages
+pkgver=3.12
+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=('254f59707b6676b59ce5ca5c3c698319')
+
+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 {} \;
+}