diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2017-11-22 21:29:24 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-11-22 21:29:24 +0000 |
commit | 5f591e88fab9cbf656d1686a6e9cb634cfa30315 (patch) | |
tree | affbca3171a2d40ee7fbf35b200646ea8923f3c0 | |
parent | 5957958c77d4b3a1a9037fb2f8aff9b6b1458332 (diff) | |
download | alpine_aports-5f591e88fab9cbf656d1686a6e9cb634cfa30315.tar.bz2 alpine_aports-5f591e88fab9cbf656d1686a6e9cb634cfa30315.tar.xz alpine_aports-5f591e88fab9cbf656d1686a6e9cb634cfa30315.zip |
main/perl-datetime-format-mail: upgrade to 0.403
-rw-r--r-- | main/perl-datetime-format-mail/APKBUILD | 32 |
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 @@ | |||
1 | # Contributor: Natanael Copa <ncopa@alpinelinux.org> | 1 | # Contributor: Natanael Copa <ncopa@alpinelinux.org> |
2 | # Maintainer: Natanael Copa <ncopa@alpinelinux.org> | 2 | # Maintainer: Natanael Copa <ncopa@alpinelinux.org> |
3 | pkgname=perl-datetime-format-mail | 3 | pkgname=perl-datetime-format-mail |
4 | pkgver=0.3001 | 4 | pkgver=0.403 |
5 | pkgrel=0 | 5 | pkgrel=0 |
6 | pkgdesc="DateTime::Format::Mail perl module" | 6 | pkgdesc="DateTime::Format::Mail perl module" |
7 | url="http://search.cpan.org/dist/DateTime-Format-Mail/" | 7 | url="http://search.cpan.org/dist/DateTime-Format-Mail/" |
@@ -11,29 +11,25 @@ depends="perl perl-datetime perl-params-validate" | |||
11 | makedepends="perl-dev" | 11 | makedepends="perl-dev" |
12 | install="" | 12 | install="" |
13 | subpackages="$pkgname-doc" | 13 | subpackages="$pkgname-doc" |
14 | source="http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/DateTime-Format-Mail-$pkgver.tar.gz" | 14 | source="http://search.cpan.org/CPAN/authors/id/B/BO/BOOK/DateTime-Format-Mail-$pkgver.tar.gz" |
15 | 15 | ||
16 | _builddir="$srcdir"/DateTime-Format-Mail-$pkgver | 16 | builddir="$srcdir"/DateTime-Format-Mail-$pkgver |
17 | prepare() { | ||
18 | local i | ||
19 | cd "$_builddir" | ||
20 | for i in $source; do | ||
21 | case $i in | ||
22 | *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; | ||
23 | esac | ||
24 | done | ||
25 | } | ||
26 | 17 | ||
27 | build() { | 18 | build() { |
28 | cd "$_builddir" | 19 | cd "$builddir" |
29 | PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 | 20 | PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor |
30 | make && make test || return 1 | 21 | make |
22 | } | ||
23 | |||
24 | check() { | ||
25 | cd "$builddir" | ||
26 | make test | ||
31 | } | 27 | } |
32 | 28 | ||
33 | package() { | 29 | package() { |
34 | cd "$_builddir" | 30 | cd "$builddir" |
35 | make DESTDIR="$pkgdir" install || return 1 | 31 | make DESTDIR="$pkgdir" install |
36 | find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete | 32 | find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete |
37 | } | 33 | } |
38 | 34 | ||
39 | sha512sums="7ad356f86bbc8c854d25806e1205834fe4c0f4f9a1ab065b81e72ef75a502f31ab82c166451e6d108faa3ceceae3103a15f4f9ad908c483bba4f068d0aad46ef DateTime-Format-Mail-0.3001.tar.gz" | 35 | sha512sums="b5e6f0ffdda3c52aa64b65414f399dcc06f72004c5421f8f0dbf1f9d4cda6e0deb1c3873df62531dc265a44ac66fd110dfc1d4273c97a48b0c472a67b03fd56f DateTime-Format-Mail-0.403.tar.gz" |