p5-text-patch: initial import

This commit is contained in:
Danny Rawlins 2019-10-22 23:59:16 +11:00
parent 20f04c67a1
commit 672a251e64
3 changed files with 38 additions and 0 deletions

11
p5-text-patch/.footprint Normal file
View File

@ -0,0 +1,11 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/perl5/
drwxr-xr-x root/root usr/lib/perl5/site_perl/
drwxr-xr-x root/root usr/lib/perl5/site_perl/5.28/
drwxr-xr-x root/root usr/lib/perl5/site_perl/5.28/Text/
-r--r--r-- root/root usr/lib/perl5/site_perl/5.28/Text/Patch.pm
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/man/
drwxr-xr-x root/root usr/share/man/man3/
-r--r--r-- root/root usr/share/man/man3/Text::Patch.3pm.gz

5
p5-text-patch/.signature Normal file
View File

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF34ru/OI6pOoRzyDbp4SDDX8PyD/bsBcrvzw3zbKH2Ah9RS0d2QFL9Ff0OB5w3D1RqZ8Xnyc25uRbM8lDP8gPags=
SHA256 (Pkgfile) = ffde27b0a9c601956a1773d2720d39e4cd9b41f03b4f00358cdd7685c61d9ce3
SHA256 (.footprint) = d42259dbafd68739c58f8e8db6da23fd078d58491527a3603acb06d64a048a8a
SHA256 (Text-Patch-1.8.tar.gz) = eaf18e61ba6a3e143846a7cc66f08ce58a0c4fbda92acb31aede25cb3b5c3dcc

22
p5-text-patch/Pkgfile Normal file
View File

@ -0,0 +1,22 @@
# Description: Patches text with given patch
# URL: https://metacpan.org/release/Text-Patch
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: p5-text-diff
name=p5-text-patch
_realname=Text-Patch
_author=CADE
version=1.8
release=1
source=(https://cpan.metacpan.org/authors/id/${_author::1}/${_author::2}/$_author/$_realname-$version.tar.gz)
build() {
cd $_realname-$version
perl Makefile.PL INSTALLDIRS=vendor
make
make DESTDIR="$PKG" install
find $PKG \( -name '.packlist' -o -name '*.pod' \) -delete
find $PKG -depth -empty -delete
}