summaryrefslogtreecommitdiff
path: root/libre/kernel26-libre-manpages/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/kernel26-libre-manpages/PKGBUILD')
-rw-r--r--libre/kernel26-libre-manpages/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/libre/kernel26-libre-manpages/PKGBUILD b/libre/kernel26-libre-manpages/PKGBUILD
new file mode 100644
index 000000000..284d09de9
--- /dev/null
+++ b/libre/kernel26-libre-manpages/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
+# Maintainer: Thomas Baechler <thomas@archlinux.org>
+# Maintainer (Parabola): fauno <fauno@kiwwwi.com.ar>
+pkgname=kernel26-libre-manpages
+pkgver=2.6.37
+pkgrel=1
+pkgdesc="Kernel hackers manual - Section 9 manpages that comes with the Linux-libre kernel."
+makedepends=('xmlto' 'docbook-xsl')
+provides=("kernel26-manpages=$pkgver")
+replaces=('kernel26-manpages')
+conflicts=('kernel26-manpages')
+arch=(any)
+license=('GPL2')
+url="http://linux-libre.fsfla.org/"
+source=(http://linux-libre.fsfla.org/pub/linux-libre/releases/2.6.37-libre/linux-2.6.37-libre.tar.bz2)
+
+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 {} \;
+}
+
+md5sums=('3e80c55a0927b4439f3aad4f973f05cc')