aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorRoberto Oliveira <robertoguimaraes8@gmail.com>2018-01-03 23:48:52 +0000
committerRoberto Oliveira <robertoguimaraes8@gmail.com>2018-01-03 23:48:52 +0000
commit9437036ee55d2934e3257ebb31fb0fdda1626fbe (patch)
treeff09af69c60ee6026efae0b54e0926efbccdb1ea /testing
parente00bb5d1145eac53fe4708d87ecd399974b8f26e (diff)
downloadaports-9437036ee55d2934e3257ebb31fb0fdda1626fbe.tar.bz2
aports-9437036ee55d2934e3257ebb31fb0fdda1626fbe.tar.xz
testing/perl-mail-sendmail: upgrade to 0.80 and modernize
Diffstat (limited to 'testing')
-rw-r--r--testing/perl-mail-sendmail/APKBUILD19
1 files changed, 11 insertions, 8 deletions
diff --git a/testing/perl-mail-sendmail/APKBUILD b/testing/perl-mail-sendmail/APKBUILD
index 3e7d2f5fe9..2213d7acda 100644
--- a/testing/perl-mail-sendmail/APKBUILD
+++ b/testing/perl-mail-sendmail/APKBUILD
@@ -3,7 +3,7 @@
# Maintainer: Valery Kartel <valery.kartel@gmail.com>
pkgname=perl-mail-sendmail
_pkgreal=Mail-Sendmail
-pkgver=0.79
+pkgver=0.80
pkgrel=0
pkgdesc="Simple platform independent mailer"
url="http://search.cpan.org/dist/Mail-Sendmail/"
@@ -14,11 +14,11 @@ cpanmakedepends=" "
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
-source="http://search.cpan.org/CPAN/authors/id/M/MI/MIVKOVIC/$_pkgreal-$pkgver.tar.gz"
+source="http://search.cpan.org/CPAN/authors/id/N/NE/NEILB/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
- default_prepare || return 1
+ default_prepare
cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
@@ -28,15 +28,18 @@ prepare() {
build() {
cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
- make && make test
+ make
+}
+
+check() {
+ cd "$builddir"
+ make test
}
package() {
cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-md5sums="038f261afd091d8fad347d6c66d2833d Mail-Sendmail-0.79.tar.gz"
-sha256sums="8a5eb39d3b9a3a4219c6d6051328c62bd51e9b53723ee5b42cd66e8672e681b9 Mail-Sendmail-0.79.tar.gz"
-sha512sums="5a39efa2f059e97b8da2d3e5f08fc30f7ac990dc7fe4f8df9580314e11c111884942335ab64af5dc4082d3a807381a8db281122237471888ecb92da6ee874e85 Mail-Sendmail-0.79.tar.gz"
+sha512sums="848ec471938d679645dfb4e032a33d35e49655a336dc6ff3a24ffa35606bff77e73162af672d1a60ad3a7bf571113e802fc42d6cb9a072cdca0d89f707f54a08 Mail-Sendmail-0.80.tar.gz"