Skip to content
Snippets Groups Projects
Commit c6fc8d8a authored by rubicon's avatar rubicon Committed by Jakub Jirutka
Browse files

community/perl-encode-imaputf7: new aport

parent b9448f1c
1 merge request!34017community/perl-encode-imaputf7: new aport (needed for imapsync)
Pipeline #121140 passed
# Automatically generated by apkbuild-cpan, template 3
# Contributor: rubicon <rubicon@mailo.com>
# Maintainer: rubicon <rubicon@mailo.com>
pkgname=perl-encode-imaputf7
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=Encode-IMAPUTF7
pkgver=1.05
pkgrel=0
pkgdesc="Modification of UTF-7 encoding for IMAP"
url="https://metacpan.org/release/Encode-IMAPUTF7/"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="perl perl-test-nowarnings"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/P/PM/PMAKHOLM/Encode-IMAPUTF7-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor
make
}
check() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make test
}
package() {
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="
e286e059db72c498173a312223152ca492700282345cccbd21ea49e0334fedcd922ae40b018aa8a6b474a10fbff9ac49f46d4c6f9920f3e508adab42bdca976f Encode-IMAPUTF7-1.05.tar.gz
"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment