subversion-perl: don't install perllocal.pod

This commit is contained in:
Lucinda May Phipps 2021-09-08 07:08:28 +01:00 committed by GitHub
parent b8f33564d1
commit 943ebda62e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="Centralized version control system characterized by its
TERMUX_PKG_LICENSE="Apache-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=1.14.1
TERMUX_PKG_REVISION=8
TERMUX_PKG_REVISION=9
TERMUX_PKG_SRCURL=https://www.apache.org/dist/subversion/subversion-${TERMUX_PKG_VERSION}.tar.bz2
TERMUX_PKG_SHA256=2c5da93c255d2e5569fa91d92457fdb65396b0666fad4fd59b22e154d986e1a9
TERMUX_PKG_DEPENDS="apr, apr-util, serf, libexpat, libsqlite, liblz4, utf8proc, zlib"
@ -43,6 +43,7 @@ termux_step_post_make_install() {
local perl_version=$(. $TERMUX_SCRIPTDIR/packages/perl/build.sh; echo $TERMUX_PKG_VERSION)
local host_perl_version=$(perl -e 'printf "%vd\n", $^V;')
cd "$TERMUX_PREFIX/lib"
rm "x86_64-linux-gnu/perl/$host_perl_version/perllocal.pod
mkdir -p "perl5/site_perl/$perl_version"
mv "x86_64-linux-gnu/perl/$host_perl_version" \
"perl5/site_perl/$perl_version/${TERMUX_ARCH}-android"