groff: Install files for font/devpdf

This commit is contained in:
Tee KOBAYASHI 2022-01-18 11:56:40 +09:00 committed by Leonid Pliushch
parent cfe80644b7
commit 637cfdde3f
1 changed files with 7 additions and 2 deletions

View File

@ -3,10 +3,10 @@ TERMUX_PKG_DESCRIPTION="typesetting system that reads plain text mixed with form
TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=1.22.4
TERMUX_PKG_REVISION=1
TERMUX_PKG_REVISION=2
TERMUX_PKG_SRCURL=https://ftp.gnu.org/gnu/groff/groff-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=e78e7b4cb7dec310849004fa88847c44701e8d133b5d4c13057d876c1bad0293
TERMUX_PKG_DEPENDS="perl, man"
TERMUX_PKG_DEPENDS="libc++, perl, man"
TERMUX_PKG_GROUPS="base-devel"
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_HOSTBUILD=true
@ -20,3 +20,8 @@ share/man/man7/roff.7*
termux_step_pre_configure() {
sed -i "s|@abs_top_builddir@|${TERMUX_TOPDIR}/groff/host-build|" Makefile.in
}
termux_step_post_make_install() {
install -Dm600 $TERMUX_PKG_HOSTBUILD_DIR/font/devpdf/[A-CEG-Z]* \
$TERMUX_PREFIX/share/groff/current/font/devpdf/
}