diff options
-rw-r--r-- | main/perl-mail-imapclient/APKBUILD | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/main/perl-mail-imapclient/APKBUILD b/main/perl-mail-imapclient/APKBUILD index 55f48e2345..ca8c268698 100644 --- a/main/perl-mail-imapclient/APKBUILD +++ b/main/perl-mail-imapclient/APKBUILD @@ -3,22 +3,21 @@ # Maintainer: Valery Kartel <valery.kartel@gmail.com> pkgname=perl-mail-imapclient _pkgreal=Mail-IMAPClient -pkgver=3.39 +pkgver=3.42 pkgrel=0 pkgdesc="IMAP4 client library" -url="http://search.cpan.org/dist/Mail-IMAPClient/" +url="https://metacpan.org/release/Mail-IMAPClient" arch="noarch" -license="GPL PerlArtistic" +license="GPL-1.0-or-later OR Artistic-1.0-Perl" cpandepends="perl-parse-recdescent" -cpanmakedepends=" " depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" +makedepends="perl-dev" subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/P/PL/PLOBBES/$_pkgreal-$pkgver.tar.gz" +source="https://cpan.metacpan.org/authors/id/P/PL/PLOBBES/Mail-IMAPClient-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" prepare() { - default_prepare || return 1 + default_prepare cd "$builddir" export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') @@ -33,20 +32,18 @@ build() { package() { cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } doc() { - default_doc || return 1 + default_doc cd "$pkgdir" local file; for file in $(find ./ -name "*.pod"); do mkdir -p "$subpkgdir"/${file%/*} - mv $file "$subpkgdir"/$file || return 1 + mv $file "$subpkgdir"/$file done } -md5sums="b813cfd79a7cab4e886d9caa94991502 Mail-IMAPClient-3.39.tar.gz" -sha256sums="b541fdb47d5bca93048bcee69f42ad2cc96af635557ba6a9db1d8f049a434ea3 Mail-IMAPClient-3.39.tar.gz" -sha512sums="156e5f6682d55f2c112ae5065448f0c502d3e748c4405768152ccccd7d944cf949f7c3fd42f30f40c86337457dea5c037959bf29739e4c413e4b45af2b74c222 Mail-IMAPClient-3.39.tar.gz" +sha512sums="1aa289efb6af5fe58734b26f40e98511f5e0f1ec5b74ffba09921e504bd87734d2f98c009e55815209c45a2d0ab9f74a2c164d2c4a3c490d58c8fb820173fa26 Mail-IMAPClient-3.42.tar.gz" |