wok-next diff perl-datetime-format-strptime/receipt @ rev 21540

updated cantarell-fonts (0.111 -> 0.201)
author Hans-G?nter Theisgen
date Sun Jun 21 16:26:44 2020 +0100 (2020-06-21)
parents d5aab818505e
children
line diff
     1.1 --- a/perl-datetime-format-strptime/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.2 +++ b/perl-datetime-format-strptime/receipt	Sun Jun 21 16:26:44 2020 +0100
     1.3 @@ -1,33 +1,26 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7 +ORIGIN="DateTime-Format-Strptime"
     1.8  PACKAGE="perl-datetime-format-strptime"
     1.9  VERSION="1.75"
    1.10 +AUTHOR="DROLSKY"
    1.11  CATEGORY="perl"
    1.12  SHORT_DESC="DateTime::Format::Strptime - Parse and format strp and strf time \
    1.13  patterns"
    1.14  MAINTAINER="pascal.bellard@slitaz.org"
    1.15  LICENSE="GPL2"
    1.16 -WEB_SITE="https://metacpan.org/release/DateTime-Format-Strptime"
    1.17 -REPOLOGY="perl:datetime-format-strptime"
    1.18 +WEB_SITE="https://metacpan.org/release/$ORIGIN"
    1.19 +HOST_ARCH="any"
    1.20 +REPOLOGY="${PACKAGE/-/:}"
    1.21  
    1.22 -TARBALL="DateTime-Format-Strptime-$VERSION.tar.gz"
    1.23 -WGET_URL="https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/$TARBALL"
    1.24 +TARBALL="$ORIGIN-$VERSION.tar.gz"
    1.25 +WGET_URL="https://cpan.metacpan.org/authors/id/${AUTHOR:0:1}/${AUTHOR:0:2}/$AUTHOR/$TARBALL"
    1.26  
    1.27 -BUILD_DEPENDS="perl-datetime perl-datetime-locale perl-datetime-timezone \
    1.28 +DEPENDS_std="perl-datetime perl-datetime-locale perl-datetime-timezone \
    1.29  perl-package-deprecationmanager perl-params-validationcompiler perl-specio \
    1.30 -perl-try-tiny perl-test-warnings"
    1.31 +perl-try-tiny"
    1.32 +BUILD_DEPENDS="$DEPENDS_std perl-test-warnings"
    1.33  
    1.34  compile_rules() {
    1.35 -	perl Makefile.PL &&
    1.36 -	make &&
    1.37 -	make DESTDIR=$install install &&
    1.38 -
    1.39 -	chmod -R u+w $install
    1.40 +	cook_perl
    1.41  }
    1.42 -
    1.43 -genpkg_rules() {
    1.44 -	copy @std
    1.45 -	DEPENDS="perl-datetime perl-datetime-locale perl-datetime-timezone \
    1.46 -	perl-package-deprecationmanager perl-params-validationcompiler perl-specio \
    1.47 -	perl-try-tiny"
    1.48 -}