aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-email-address-list
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2014-06-13 07:28:09 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2014-06-13 07:31:32 +0000
commitf621e39c69fe14cec3bc368fddd2f1c79840b9ef (patch)
tree06faa0dcaf3098a2e7867861c394283dcf164bc3 /main/perl-email-address-list
parent6175c045945fd62f5a6f5bd1aa613b59b72a7c65 (diff)
downloadaports-f621e39c69fe14cec3bc368fddd2f1c79840b9ef.tar.bz2
aports-f621e39c69fe14cec3bc368fddd2f1c79840b9ef.tar.xz
main/perl-email-address-list: new aport
Diffstat (limited to 'main/perl-email-address-list')
-rw-r--r--main/perl-email-address-list/APKBUILD41
1 files changed, 20 insertions, 21 deletions
diff --git a/main/perl-email-address-list/APKBUILD b/main/perl-email-address-list/APKBUILD
index fe123e7bf3..27b271c57d 100644
--- a/main/perl-email-address-list/APKBUILD
+++ b/main/perl-email-address-list/APKBUILD
@@ -1,33 +1,32 @@
-# Automatically generated by apkbuild-cpan, template 1
-# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
-# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
+# Maintainer: Leonardo Arena <larena@alpinelinux.org>
pkgname=perl-email-address-list
-_pkgreal=Email-Address-List
-pkgver=0.01
+pkgver=0.05
pkgrel=0
-pkgdesc="RFC close address list parsing"
+pkgdesc="RFC close address list parsing "
url="http://search.cpan.org/dist/Email-Address-List/"
arch="noarch"
-license="GPL PerlArtistic"
-cpandepends="perl-email-address"
-cpanmakedepends="perl-json "
-depends="$cpandepends"
-makedepends="perl-dev $cpanmakedepends"
+license="GPL+ or Artistic"
+depends="perl"
+makedepends="perl-dev"
+install=""
subpackages="$pkgname-doc"
-source="http://search.cpan.org/CPAN/authors/id/R/RU/RUZ/$_pkgreal-$pkgver.tar.gz"
-
-_builddir="$srcdir/$_pkgreal-$pkgver"
+source="http://search.cpan.org/CPAN/authors/id/A/AL/ALEXMV/Email-Address-List-$pkgver.tar.gz"
+_builddir="$srcdir"/Email-Address-List-$pkgver
prepare() {
+ local i
cd "$_builddir"
- export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
- PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
}
build() {
cd "$_builddir"
- export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
- make && make test
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
+ make && make test || return 1
}
package() {
@@ -36,6 +35,6 @@ package() {
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-md5sums="0987dc5ba9184217fc1c8f1d28d6c906 Email-Address-List-0.01.tar.gz"
-sha256sums="8ff17fc06ff6d67d378e30f16e2e1930f2a1d5db2f7f59973b4166d38cac4a3e Email-Address-List-0.01.tar.gz"
-sha512sums="0004c808fc299764b0f717391d8b21cdbdf2d9979fb08c428ef2d2428ab206e134e700b74dd8367d34690406b3693ccaed4e8865df81c2ecb7de914d2ac6e2ea Email-Address-List-0.01.tar.gz"
+md5sums="0b723b59596f9dd998c35b0eb89cc935 Email-Address-List-0.05.tar.gz"
+sha256sums="705c23fc2163c2347ba0aea998450259f7b10577a368c6d310bd4e98b427a033 Email-Address-List-0.05.tar.gz"
+sha512sums="cfb7ea59de8c164a632afdea2d269213052709d91d56869198e1e788452a1746d8f37ad681c946d4b705363311d95ad2babff6fadabda50818da3d2b9e14cde5 Email-Address-List-0.05.tar.gz"