diff --git a/packages/pcre2/build.sh b/packages/pcre2/build.sh index c3a6da7da..007e8f58d 100644 --- a/packages/pcre2/build.sh +++ b/packages/pcre2/build.sh @@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="Perl 5 compatible regular expression library" TERMUX_PKG_LICENSE="BSD 3-Clause" TERMUX_PKG_MAINTAINER="@termux" TERMUX_PKG_VERSION=10.39 -TERMUX_PKG_REVISION=1 +TERMUX_PKG_REVISION=2 TERMUX_PKG_SRCURL=https://github.com/PhilipHazel/pcre2/releases/download/pcre2-${TERMUX_PKG_VERSION}/pcre2-${TERMUX_PKG_VERSION}.tar.bz2 TERMUX_PKG_SHA256=0f03caf57f81d9ff362ac28cd389c055ec2bf0678d277349a1a4bee00ad6d440 TERMUX_PKG_AUTO_UPDATE=true @@ -11,9 +11,8 @@ TERMUX_PKG_AUTO_UPDATE_TAG_REGEXP="\d+\.\d+" TERMUX_PKG_BREAKS="pcre2-dev" TERMUX_PKG_REPLACES="pcre2-dev" TERMUX_PKG_RM_AFTER_INSTALL=" -bin/pcre2grep bin/pcre2test -share/man/man1/pcre2*.1 +share/man/man1/pcre2test.1 lib/libpcre2-posix.so lib/pkgconfig/libpcre2-posix.pc " diff --git a/packages/pcre2/pcre2grep.subpackage.sh b/packages/pcre2/pcre2grep.subpackage.sh new file mode 100644 index 000000000..49d49ef84 --- /dev/null +++ b/packages/pcre2/pcre2grep.subpackage.sh @@ -0,0 +1,2 @@ +TERMUX_SUBPKG_INCLUDE="bin/pcre2grep share/man/man1/pcre2grep.1.gz" +TERMUX_SUBPKG_DESCRIPTION="A grep with Perl-compatible regular expressions"