summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
Diffstat (limited to 'libre')
-rw-r--r--libre/linux-libre-manpages/PKGBUILD18
1 files changed, 12 insertions, 6 deletions
diff --git a/libre/linux-libre-manpages/PKGBUILD b/libre/linux-libre-manpages/PKGBUILD
index 99dfa9f78..e6c759ea8 100644
--- a/libre/linux-libre-manpages/PKGBUILD
+++ b/libre/linux-libre-manpages/PKGBUILD
@@ -4,12 +4,12 @@
# Based on linux-manpages package
pkgname=linux-libre-manpages
-_pkgver=4.4-gnu
+_pkgver=4.5-gnu
_srcname=linux-${_pkgver%-*}
_archpkgver=${_pkgver%-*}
pkgver=${_pkgver//-/_}
-pkgrel=2
+pkgrel=1
pkgdesc="Kernel hackers manual - Section 9 manpages that comes with the Linux-libre kernel"
arch=('any')
url="http://linux-libre.fsfla.org/"
@@ -20,7 +20,7 @@ conflicts=('linux-manpages')
provides=("linux-manpages=${_archpkgver}")
source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/${_pkgver}/linux-libre-${_pkgver}.tar.xz"
"http://linux-libre.fsfla.org/pub/linux-libre/releases/${_pkgver}/linux-libre-${_pkgver}.tar.xz.sign")
-sha256sums=('f53e99866c751f21412737d1f06b0721e207f495c8c64f97dffb681795ee69a0'
+sha256sums=('c37a135518d5a69b26bae8441bc20e5a5ea87d3228cfe72f75a714cff730a84e'
'SKIP')
validpgpkeys=(
'474402C8C582DAFBE389C427BCB7CF877E7D47A7' # Alexandre Oliva
@@ -32,7 +32,13 @@ build() {
}
package() {
- install -d "${pkgdir}/usr/share/man/man9/"
- find "${srcdir}"/${_srcname}/Documentation/DocBook/man -type f -name *.9.gz -exec install {} "${pkgdir}/usr/share/man/man9/" \;
- find "${pkgdir}" -type f -exec chmod 644 {} \;
+ cd "${srcdir}/${_srcname}"
+ # fix install path
+ sed -i -e "s:/usr/local/man/man9/:${pkgdir}/usr/share/man/man9/:g" Documentation/DocBook/Makefile
+ make installmandocs
+
+ #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 {} \;
}