[arch-commits] Commit in man-pages/trunk (PKGBUILD)

Andreas Radke andyrtr at archlinux.org
Wed Nov 11 18:08:27 UTC 2020


    Date: Wednesday, November 11, 2020 @ 18:08:27
  Author: andyrtr
Revision: 400421

upgpkg: man-pages 5.09-2: upstream update of posix man pages 2017-a

Modified:
  man-pages/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-11 17:20:29 UTC (rev 400420)
+++ PKGBUILD	2020-11-11 18:08:27 UTC (rev 400421)
@@ -2,8 +2,8 @@
 
 pkgname=man-pages
 pkgver=5.09
-_posixver=2013-a
-pkgrel=1
+_posixver=2017-a
+pkgrel=2
 pkgdesc="Linux man pages"
 arch=('any')
 license=('GPL' 'custom')
@@ -13,7 +13,7 @@
 # https://www.kernel.org/pub/linux/docs/man-pages/sha256sums.asc
 sha256sums=('df1a3476bf63336f5e0335c4c2a992359b301999e9dfe44fb2cac7466aec0bf2'
             'SKIP'
-            '19633a5c75ff7deab35b1d2c3d5b7748e7bd4ef4ab598b647bb7e7f60b90a808'
+            'ce67bb25b5048b20dad772e405a83f4bc70faf051afa289361c81f9660318bc3'
             'SKIP')
 validpgpkeys=('E522595B52EDA4E6BFCCCB5E856199113A35CE5E') # Michael Kerrisk (Linux man-pages maintainer) <mtk.manpages at gmail.com>
 
@@ -23,8 +23,8 @@
   # move the posix pages
   mkdir -p "${srcdir}"/$pkgname-$pkgver/man0
   for sect in 0 1 3; do
-    sed -i "/^\.so /s/man${sect}p/man$sect/" "${srcdir}/$pkgname-posix-${_posixver}/man${sect}p"/*
-    mv -iv "${srcdir}/$pkgname-posix-${_posixver}/man${sect}p"/* "${srcdir}/$pkgname-$pkgver/man$sect/"
+    sed -i "/^\.so /s/man${sect}p/man$sect/" "${srcdir}/$pkgname-posix-${_posixver%-*}/man${sect}p"/*
+    mv -iv "${srcdir}/$pkgname-posix-${_posixver%-*}/man${sect}p"/* "${srcdir}/$pkgname-$pkgver/man$sect/"
   done
 }
 
@@ -35,7 +35,7 @@
   
   # posix pages have a custom license
   install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
-  install -m644 "${srcdir}"/$pkgname-posix-${_posixver}/POSIX-COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/POSIX-COPYRIGHT"
+  install -m644 "${srcdir}"/$pkgname-posix-${_posixver%-*}/POSIX-COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/POSIX-COPYRIGHT"
   
   cd "${pkgdir}"/usr/share/man
   # included in shadow


More information about the arch-commits mailing list