psutils: update to 2.03

This commit is contained in:
Henrik Grimler 2020-07-04 10:37:14 +02:00
parent 6a7a1cf7cc
commit ab7f4bf44a

View File

@ -1,9 +1,9 @@
TERMUX_PKG_HOMEPAGE=https://github.com/rrthomas/psutils TERMUX_PKG_HOMEPAGE=https://github.com/rrthomas/psutils
TERMUX_PKG_DESCRIPTION="A set of postscript utilities" TERMUX_PKG_DESCRIPTION="A set of postscript utilities"
TERMUX_PKG_LICENSE="GPL-3.0" TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_VERSION=1.90 TERMUX_PKG_VERSION=2.03
TERMUX_PKG_SRCURL=https://github.com/rrthomas/psutils/releases/download/v$TERMUX_PKG_VERSION/psutils-$TERMUX_PKG_VERSION.tar.gz TERMUX_PKG_SRCURL=https://github.com/rrthomas/psutils/releases/download/v$TERMUX_PKG_VERSION/psutils-$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=6685035adacc7c5dbbae8ca95abce03e4535164fd5e661d5393e00a7b8cc1fad TERMUX_PKG_SHA256=a24d1dab2aba74743ac5870f60f27d3d04d30a1075c92db5500df2cc0a6b0ba5
TERMUX_PKG_DEPENDS="ghostscript, perl" TERMUX_PKG_DEPENDS="ghostscript, perl"
TERMUX_PKG_PLATFORM_INDEPENDENT=true TERMUX_PKG_PLATFORM_INDEPENDENT=true
@ -12,7 +12,7 @@ termux_step_post_massage() {
# Make sure that perl can find PSUtils module. # Make sure that perl can find PSUtils module.
mkdir -p "$TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/lib/perl5/${perl_version}" mkdir -p "$TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/lib/perl5/${perl_version}"
mv -f "$TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX"/share/perl/PSUtils.pm \ mv -f "$TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX"/share/psutils/PSUtils.pm \
"$TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/lib/perl5/${perl_version}"/ "$TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/lib/perl5/${perl_version}"/
rm -rf "$TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX"/share/perl rmdir "$TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX"/share/psutils
} }