[arch-commits] Commit in linux-manpages/trunk (PKGBUILD)

Andreas Radke andyrtr at archlinux.org
Thu May 5 06:32:27 UTC 2016


    Date: Thursday, May 5, 2016 @ 08:32:27
  Author: andyrtr
Revision: 266909

upgpkg: linux-manpages 4.5-1

upstream update 4.5

Modified:
  linux-manpages/trunk/PKGBUILD

----------+
 PKGBUILD |   20 +++++++++++++-------
 1 file changed, 13 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-05-05 06:27:43 UTC (rev 266908)
+++ PKGBUILD	2016-05-05 06:32:27 UTC (rev 266909)
@@ -3,7 +3,7 @@
 # Maintainer: Thomas Baechler <thomas at archlinux.org>
 
 pkgname=linux-manpages
-pkgver=3.19
+pkgver=4.5
 pkgrel=1
 pkgdesc="Kernel hackers manual - Section 9 manpages that comes with the Linux kernel."
 arch=('any')
@@ -13,8 +13,10 @@
 replaces=('kernel26-manpages')
 conflicts=('kernel26-manpages')
 provides=('kernel26-manpages')
-source=("https://www.kernel.org/pub/linux/kernel/v3.x/linux-${pkgver}.tar.xz")
-sha256sums=('be42511fe5321012bb4a2009167ce56a9e5fe362b4af43e8c371b3666859806c')
+options=('!zipman')
+# https://www.kernel.org/pub/linux/kernel/v4.x/sha256sums.asc
+source=("https://www.kernel.org/pub/linux/kernel/v4.x/linux-${pkgver}.tar.xz")
+sha256sums=('a40defb401e01b37d6b8c8ad5c1bbab665be6ac6310cdeed59950c96b31a519c')
 
 build() {
   cd "${srcdir}/linux-$pkgver"
@@ -22,9 +24,13 @@
 }
 
 package() {
-  install -d "${pkgdir}/usr/share/man/man9/"
-  install "${srcdir}"/linux-$pkgver/Documentation/DocBook/man/*.9.gz \
-    "${pkgdir}/usr/share/man/man9/"
+  cd "${srcdir}/linux-$pkgver"
+  # fix install path
+  sed -i -e "s:/usr/local/man/man9/:${pkgdir}/usr/share/man/man9/:g" Documentation/DocBook/Makefile
+  make installmandocs
 
-  find "${pkgdir}" -type f -exec chmod 644 {} \;
+  #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 {} \;
 }



More information about the arch-commits mailing list