X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/27ce01e83bf0264b9aed9595226ef84f07ca0f52..6b87a6b879a06462689c473960a5b2e57b413ee6:/packages/linux-man-pages/build.sh diff --git a/packages/linux-man-pages/build.sh b/packages/linux-man-pages/build.sh index 31311c76..99f3b886 100644 --- a/packages/linux-man-pages/build.sh +++ b/packages/linux-man-pages/build.sh @@ -1,7 +1,7 @@ TERMUX_PKG_HOMEPAGE=https://www.kernel.org/doc/man-pages/ TERMUX_PKG_DESCRIPTION="Man pages for linux kernel and C library interfaces" TERMUX_PKG_DEPENDS="man" -TERMUX_PKG_VERSION=4.04 +TERMUX_PKG_VERSION=4.08 TERMUX_PKG_SRCURL=https://www.kernel.org/pub/linux/docs/man-pages/man-pages-${TERMUX_PKG_VERSION}.tar.xz TERMUX_PKG_EXTRA_MAKE_ARGS="prefix=$TERMUX_PREFIX" # man.7 and mdoc.7 is included with mandoc: @@ -9,7 +9,16 @@ TERMUX_PKG_RM_AFTER_INSTALL="share/man/man1 share/man/man8 share/man/man7/man.7 TERMUX_PKG_PLATFORM_INDEPENDENT=true TERMUX_PKG_BUILD_IN_SRC=true -termux_step_make () { - # Fresh timestamps on files: - make uninstall +termux_step_pre_configure() { + # Bundle posix man pages in same package: + local _POSIX_TARFILE=man-pages-posix-2013-a.tar.xz + if [ ! -f $TERMUX_PKG_CACHEDIR/$_POSIX_TARFILE ]; then + termux_download https://www.kernel.org/pub/linux/docs/man-pages/man-pages-posix/$_POSIX_TARFILE \ + $TERMUX_PKG_CACHEDIR/$_POSIX_TARFILE + fi + mkdir -p $TERMUX_PKG_TMPDIR/man-pages-posix + cd $TERMUX_PKG_TMPDIR/man-pages-posix + tar xf $TERMUX_PKG_CACHEDIR/$_POSIX_TARFILE + cd man-pages-posix-2013-a + make install }