From 167256cca71858955be9967b16dc3db1b7714de6 Mon Sep 17 00:00:00 2001 From: Lucy Phipps Date: Sat, 7 Aug 2021 23:51:58 +0100 Subject: [PATCH] apt: use termux docbook-xsl --- packages/apt/build.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/apt/build.sh b/packages/apt/build.sh index cf2dc9852..c1bba9a5a 100644 --- a/packages/apt/build.sh +++ b/packages/apt/build.sh @@ -3,11 +3,12 @@ TERMUX_PKG_DESCRIPTION="Front-end for the dpkg package manager" TERMUX_PKG_LICENSE="GPL-2.0" TERMUX_PKG_MAINTAINER="@termux" TERMUX_PKG_VERSION=2.3.7 -TERMUX_PKG_REVISION=1 +TERMUX_PKG_REVISION=2 TERMUX_PKG_SRCURL=http://deb.debian.org/debian/pool/main/a/apt/apt_${TERMUX_PKG_VERSION}.tar.xz TERMUX_PKG_SHA256=c946a126263b3ea51a15216689602367c0da95d6878b76dc891ea335d87bd936 # apt-key requires utilities from coreutils, findutils, gpgv, grep, sed. TERMUX_PKG_DEPENDS="coreutils, dpkg, findutils, gpgv, grep, libandroid-glob, libbz2, libc++, libcurl, libgnutls, liblz4, liblzma, sed, termux-licenses, xxhash, zlib" +TERMUX_PKG_BUILD_DEPENDS="docbook-xsl" TERMUX_PKG_CONFLICTS="apt-transport-https, libapt-pkg" TERMUX_PKG_REPLACES="apt-transport-https, libapt-pkg" TERMUX_PKG_RECOMMENDS="game-repo, science-repo" @@ -27,7 +28,7 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" -DDPKG_DATADIR=$TERMUX_PREFIX/share/dpkg -DUSE_NLS=OFF -DWITH_DOC=OFF --DDOCBOOK_XSL=/usr/share/xml/docbook/stylesheet/docbook-xsl +-DDOCBOOK_XSL=$(xmlcatalog "$TERMUX_PREFIX/etc/xml/catalog" http://cdn.docbook.org/release/xsl/current) " # ubuntu uses instead $PREFIX/lib instead of $PREFIX/libexec to