diff options
-rw-r--r-- | main/perl-mail-spf/APKBUILD | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/main/perl-mail-spf/APKBUILD b/main/perl-mail-spf/APKBUILD index 83842478e..eec71b18b 100644 --- a/main/perl-mail-spf/APKBUILD +++ b/main/perl-mail-spf/APKBUILD @@ -2,8 +2,8 @@ # Maintainer: Leonardo Arena <rnalrd@gmail.com> pkgname=perl-mail-spf _realname=Mail-SPF -pkgver=2.006 -pkgrel=1 +pkgver=2.007 +pkgrel=0 pkgdesc="An object-oriented implementation of Sender Policy Framework" url="http://search.cpan.org/~jmehnle/Mail-SPF-v2.006/" license="GPL PerlArtistic" @@ -13,12 +13,16 @@ install= subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/J/JM/JMEHNLE/mail-spf/$_realname-v$pkgver.tar.gz" +_builddir="$srcdir/$_realname-v$pkgver" build() { - cd "$srcdir/$_realname-v$pkgver" - + cd "$_builddir" PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 make || return 1 +} + +package() { + cd "$_builddir" make DESTDIR="$pkgdir" install } -md5sums="4da41591b612560627ddbc6026b047a3 Mail-SPF-v2.006.tar.gz" +md5sums="67dccdc91e3264679a0e17d493d3cc30 Mail-SPF-v2.007.tar.gz" |