diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2014-10-28 00:58:47 +0100 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2014-10-28 00:58:47 +0100 |
commit | 929ece22b9341870d68158cde02f01dc047e2397 (patch) | |
tree | 5b60d753ac54d7e42d416ea692ad7bd8751c21ff /unmaintained | |
parent | bb0572d1a6ca25b618842995aad5706de11abd64 (diff) | |
download | aports-929ece22b9341870d68158cde02f01dc047e2397.tar.bz2 aports-929ece22b9341870d68158cde02f01dc047e2397.tar.xz |
testing/perl-email-sender: unmaintained
Diffstat (limited to 'unmaintained')
-rw-r--r-- | unmaintained/perl-email-sender/APKBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/unmaintained/perl-email-sender/APKBUILD b/unmaintained/perl-email-sender/APKBUILD new file mode 100644 index 0000000000..ac0d8fa6b4 --- /dev/null +++ b/unmaintained/perl-email-sender/APKBUILD @@ -0,0 +1,39 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Francesco Colista <francesco.colista@gmail.com> +# Maintainer: Francesco Colista <francesco.colista@gmail.com> +pkgname=perl-email-sender +_pkgreal=Email-Sender +pkgver=0.120002 +pkgrel=0 +pkgdesc="a library for sending email" +url="http://search.cpan.org/dist/Email-Sender/" +arch="noarch" +license="GPL PerlArtistic" +cpandepends="perl-list-moreutils perl-capture-tiny perl-moose perl-email-address perl-email-simple perl-throwable perl-email-abstract perl-try-tiny" +cpanmakedepends=" " +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/$_pkgreal-$pkgver.tar.gz" + +_builddir="$srcdir/$_pkgreal-$pkgver" + +prepare() { + cd "$_builddir" + export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor +} + +build() { + cd "$_builddir" + export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + make && make test +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +md5sums="8671410f17dc316d925bbcdeb97af9c6 Email-Sender-0.120002.tar.gz" |