new package: libregexp-assemble-perl

This commit is contained in:
Lucy Phipps 2021-07-07 20:18:19 +01:00
parent 0faa3e2bcf
commit b9a3b00d10
No known key found for this signature in database
GPG Key ID: 8F688A3DB7869BFE
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,26 @@
TERMUX_PKG_HOMEPAGE=https://metacpan.org/pod/Regexp::Assemble
TERMUX_PKG_DESCRIPTION="Perl module to merge several regular expressions"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=0.38
TERMUX_PKG_SRCURL=https://salsa.debian.org/perl-team/modules/packages/libregexp-assemble-perl/-/archive/upstream/${TERMUX_PKG_VERSION}/libregexp-assemble-perl-upstream-${TERMUX_PKG_VERSION}.tar.bz2
TERMUX_PKG_SHA256=ca31b4111b825a4aa5262b07412822457910577881c2edb19407baad3997ebb0
TERMUX_PKG_DEPENDS="perl"
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_PLATFORM_INDEPENDENT=true
termux_step_configure() {
perl Makefile.PL
}
termux_step_make_install() {
local perl_version=$(. $TERMUX_SCRIPTDIR/packages/perl/build.sh; echo $TERMUX_PKG_VERSION)
mkdir -p $TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/share/man/man3/
cp $TERMUX_PKG_SRCDIR/blib/man3/Regexp::Assemble.3pm \
$TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/share/man/man3/
mkdir -p $TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/lib/perl5/site_perl/$perl_version/Regexp/
cp $TERMUX_PKG_SRCDIR/lib/Regexp/Assemble.pm \
$TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/lib/perl5/site_perl/$perl_version/Regexp/
}

View File

@ -6,6 +6,7 @@ TERMUX_PKG_MAINTAINER="@termux"
# - exiftool
# - irssi
# - libapt-pkg-perl
# - libregexp-assemble-perl
# - psutils
TERMUX_PKG_VERSION=(5.34.0
1.3.6)