aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-11-22 21:29:24 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-11-22 21:29:24 +0000
commit5f591e88fab9cbf656d1686a6e9cb634cfa30315 (patch)
treeaffbca3171a2d40ee7fbf35b200646ea8923f3c0
parent5957958c77d4b3a1a9037fb2f8aff9b6b1458332 (diff)
downloadaports-5f591e88fab9cbf656d1686a6e9cb634cfa30315.tar.bz2
aports-5f591e88fab9cbf656d1686a6e9cb634cfa30315.tar.xz
main/perl-datetime-format-mail: upgrade to 0.403
-rw-r--r--main/perl-datetime-format-mail/APKBUILD32
1 files changed, 14 insertions, 18 deletions
diff --git a/main/perl-datetime-format-mail/APKBUILD b/main/perl-datetime-format-mail/APKBUILD
index 8c87aae348..6d21a88359 100644
--- a/main/perl-datetime-format-mail/APKBUILD
+++ b/main/perl-datetime-format-mail/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-datetime-format-mail
-pkgver=0.3001
+pkgver=0.403
pkgrel=0
pkgdesc="DateTime::Format::Mail perl module"
url="http://search.cpan.org/dist/DateTime-Format-Mail/"
@@ -11,29 +11,25 @@ depends="perl perl-datetime perl-params-validate"
makedepends="perl-dev"
install=""
subpackages="$pkgname-doc"
-source="http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/DateTime-Format-Mail-$pkgver.tar.gz"
+source="http://search.cpan.org/CPAN/authors/id/B/BO/BOOK/DateTime-Format-Mail-$pkgver.tar.gz"
-_builddir="$srcdir"/DateTime-Format-Mail-$pkgver
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
+builddir="$srcdir"/DateTime-Format-Mail-$pkgver
build() {
- cd "$_builddir"
- PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
- make && make test || return 1
+ 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 || return 1
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-sha512sums="7ad356f86bbc8c854d25806e1205834fe4c0f4f9a1ab065b81e72ef75a502f31ab82c166451e6d108faa3ceceae3103a15f4f9ad908c483bba4f068d0aad46ef DateTime-Format-Mail-0.3001.tar.gz"
+sha512sums="b5e6f0ffdda3c52aa64b65414f399dcc06f72004c5421f8f0dbf1f9d4cda6e0deb1c3873df62531dc265a44ac66fd110dfc1d4273c97a48b0c472a67b03fd56f DateTime-Format-Mail-0.403.tar.gz"