Date: Monday, February 13, 2023 @ 16:04:08
Author: andyrtr
Revision: 468727
archrelease: copy trunk to testing-any
Added:
man-pages/repos/testing-any/
man-pages/repos/testing-any/PKGBUILD
(from rev 468726, man-pages/trunk/PKGBUILD)
man-pages/repos/testing-any/keys/
----------+
PKGBUILD | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 50 insertions(+)
Copied: man-pages/repos/testing-any/PKGBUILD (from rev 468726,
man-pages/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD (rev 0)
+++ testing-any/PKGBUILD 2023-02-13 16:04:08 UTC (rev 468727)
@@ -0,0 +1,50 @@
+# Maintainer: Andreas Radke <[email protected]>
+
+pkgname=man-pages
+pkgver=6.03
+_posixver=2017-a
+pkgrel=1
+pkgdesc="Linux man pages"
+arch=('any')
+license=('GPL' 'custom')
+url="https://www.kernel.org/doc/man-pages/"
+makedepends=('man2html' 'git')
+# https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/
+source=(https://www.kernel.org/pub/linux/docs/man-pages/$pkgname-$pkgver.tar.{xz,sign}
+
https://www.kernel.org/pub/linux/docs/man-pages/man-pages-posix/$pkgname-posix-${_posixver}.tar.{xz,sign})
+# https://www.kernel.org/pub/linux/docs/man-pages/sha256sums.asc
+sha256sums=('5f7f289d30b296b78116a08e7703df9375aa846b332b57dca47ddcbb7809fbbd'
+ 'SKIP'
+ 'ce67bb25b5048b20dad772e405a83f4bc70faf051afa289361c81f9660318bc3'
+ 'SKIP')
+validpgpkeys=('E522595B52EDA4E6BFCCCB5E856199113A35CE5E') # Michael Kerrisk
(Linux man-pages maintainer) <[email protected]>
+# + for posix tarball
+validpgpkeys+=('A9348594CE31283A826FBDD8D57633D441E25BB5') # Alejandro Colomar
Andres <[email protected]>
+
+prepare() {
+ cd "${srcdir}"/$pkgname-$pkgver
+
+ # included in shadow
+ rm man5/passwd.5
+ rm man3/getspnam.3
+ # included in tzdata
+ rm man5/tzfile.5 man8/{tzselect,zdump,zic}.8
+ # included in libxcrypt
+ rm man3/crypt*.3
+}
+
+package() {
+ cd "${srcdir}"/$pkgname-$pkgver
+
+ # install man-pages
+ make DESTDIR="${pkgdir}" prefix=/usr install
+
+ # install posix pages
+ pushd "${srcdir}"/$pkgname-posix-${_posixver%-*}
+ make DESTDIR="${pkgdir}" install
+ popd
+
+ # 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"
+}