summaryrefslogtreecommitdiff
path: root/libre/linux-libre-manpages/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-03-24 00:01:22 +0000
committerroot <root@rshg054.dnsready.net>2012-03-24 00:01:22 +0000
commitadac5afd500d4ee3a65035e1cf5353ae236b4a61 (patch)
treef4363891ec4de7b720eb809815fec7199292f5b0 /libre/linux-libre-manpages/PKGBUILD
parent1512c792951d7fbd2c9c336f9bf35654bbb85cc6 (diff)
Sat Mar 24 00:01:22 UTC 2012
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..1422f451f
--- /dev/null
+++ b/libre/linux-libre-manpages/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
+# Maintainer: Thomas Baechler <thomas@archlinux.org>
+# Maintainer (Parabola): André Silva <andre.paulista@adinet.com.uy>
+
+pkgname=linux-libre-manpages
+pkgver=3.1
+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' 'linux-manpages')
+conflicts=('kernel26-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=('38703cdbb0b9107e7220bc094c5e36b1')
+
+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 {} \;
+}