summaryrefslogtreecommitdiff
path: root/user/perl-email-date-format/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/perl-email-date-format/APKBUILD')
-rw-r--r--user/perl-email-date-format/APKBUILD22
1 files changed, 11 insertions, 11 deletions
diff --git a/user/perl-email-date-format/APKBUILD b/user/perl-email-date-format/APKBUILD
index fb41a6fed..b0b6ce4cb 100644
--- a/user/perl-email-date-format/APKBUILD
+++ b/user/perl-email-date-format/APKBUILD
@@ -1,34 +1,34 @@
# Contributor: A. Wilcox <awilfox@adelielinux.org>
-# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-email-date-format
-_pkgname=Email-Date-Format
-pkgver=1.005
+_pkgreal=Email-Date-Format
+_author=RJBS
+_au=${_author%%"${_author#??}"}
+_a=${_author%%"${_author#?}"}
+pkgver=1.008
pkgrel=0
pkgdesc="Produce RFC 2822 date strings in Perl"
url="https://metacpan.org/release/Email-Date-Format"
arch="noarch"
-license="Artistic-1.0-Perl OR GPL-2.0-only"
-depends=""
+license="Artistic-1.0-Perl OR GPL-1.0+"
+depends="perl"
makedepends="perl-dev"
subpackages="$pkgname-doc"
-source="https://cpan.metacpan.org/authors/id/R/RJ/RJBS/Email-Date-Format-$pkgver.tar.gz"
-builddir="$srcdir/Email-Date-Format-$pkgver"
+source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgreal-$pkgver"
build() {
- cd "$builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
- cd "$builddir"
make test
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-sha512sums="23daefa45874211f053d05ac3c3f3c7c3a86d9b623fdcec3bd9f6f7b4c8e5ad1ac8038146bdc85cc950b21b43b0ad843f8a52ad2183d868d3a62ea96292e34ca Email-Date-Format-1.005.tar.gz"
+sha512sums="24c97cd3b739c2f3c298b9ec168c4614bb71b13a0106f351990443cc86506e4e121f9c647bde6f08080a876f36adeb3fcef566d87ded9bddcbec6f3191f508be Email-Date-Format-1.008.tar.gz"