diff options
author | Stuart Cardall <developer@it-offshore.co.uk> | 2017-02-13 14:54:18 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2017-02-14 07:57:36 +0000 |
commit | fd89f52cc0e2e4bca2c5a598badfcd78607c45b7 (patch) | |
tree | e47686872bf6e0a67039922ffa23a4c7b3f092e7 /community/perl-mime-construct | |
parent | ca72095593e2a802b952824a510bb5fb2dbfd29d (diff) | |
download | aports-fd89f52cc0e2e4bca2c5a598badfcd78607c45b7.tar.bz2 aports-fd89f52cc0e2e4bca2c5a598badfcd78607c45b7.tar.xz |
unmaintained/perl-mime-construct: move to community / take ownership
Diffstat (limited to 'community/perl-mime-construct')
-rw-r--r-- | community/perl-mime-construct/APKBUILD | 29 |
1 files changed, 14 insertions, 15 deletions
diff --git a/community/perl-mime-construct/APKBUILD b/community/perl-mime-construct/APKBUILD index 0bcc57959a..0e0750aba9 100644 --- a/community/perl-mime-construct/APKBUILD +++ b/community/perl-mime-construct/APKBUILD @@ -1,38 +1,37 @@ # Contributor: Valery Kartel <valery.kartel@gmail.com> -# Maintainer: Valery Kartel <valery.kartel@gmail.com> +# Maintainer: Stuart Cardall <developer@it-offshore.co.uk> pkgname=perl-mime-construct _pkgreal=mime-construct pkgver=1.11 -pkgrel=2 +pkgrel=3 pkgdesc="Construct and optionally mail MIME messages" url="http://search.cpan.org/~rosch/mime-construct/mime-construct" arch="noarch" license="GPL PerlArtistic" cpandepends="perl-proc-waitstat perl-mime-types perl-mime-base64" -cpanmakedepends=" " depends="perl $cpandepends" -makedepends="perl-dev $cpanmakedepends" +makedepends="perl-dev" subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/R/RO/ROSCH/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" +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 + cd "$builddir" + default_prepare || return 1 + 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 + 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 + cd "$builddir" + make DESTDIR="$pkgdir" install || return 1 + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } md5sums="73834ea780fbea81b89dbd9b2fb54f58 mime-construct-1.11.tar.gz" sha256sums="4cd7bb61b51d41192d1498c1051aa6a4ccd75aeb09b71d2ec706a7084a4a9303 mime-construct-1.11.tar.gz" |