summaryrefslogtreecommitdiff
path: root/opt/man-pages/MAKEPKG
diff options
context:
space:
mode:
Diffstat (limited to 'opt/man-pages/MAKEPKG')
-rw-r--r--opt/man-pages/MAKEPKG33
1 files changed, 33 insertions, 0 deletions
diff --git a/opt/man-pages/MAKEPKG b/opt/man-pages/MAKEPKG
new file mode 100644
index 0000000..ab172bc
--- /dev/null
+++ b/opt/man-pages/MAKEPKG
@@ -0,0 +1,33 @@
+#!/bin/mkpkg
+# description: The Linux manpages collection
+# url: https://man7.org/linux/man-pages/index.html
+
+name=man-pages
+version=6.19
+release=1
+source=(https://www.kernel.org/pub/linux/docs/$name/$name-$version.tar.xz
+ https://www.kernel.org/pub/linux/docs/$name/$name-posix/$name-posix-2017-a.tar.xz)
+
+sha256sums=(
+ "88a7c42ad2e03d8b96dc72d95e451f2d875ff0f43103a8eb8ac8242133bdcb05"
+ "ce67bb25b5048b20dad772e405a83f4bc70faf051afa289361c81f9660318bc3"
+)
+
+build() {
+ cd $name-$version
+
+ rm man5/passwd.5
+ make -R prefix=/usr DESTDIR=$PKG install
+
+ cd $SRC/$name-posix-2017
+ make -R prefix=/usr DESTDIR=$PKG install
+
+ touch $PKG/usr/share/man/whatis
+}
+
+signify() {
+ untrusted comment: public key
+ RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
+}
+
+# vim: filetype=sh