1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-15 04:05:15 +03:00
aports/community/perl-encode-imaputf7/APKBUILD

38 lines
1.1 KiB
Text

# Automatically generated by apkbuild-cpan, template 4
# Contributor: rubicon <rubicon@mailo.com>
# Maintainer: rubicon <rubicon@mailo.com>
pkgname=perl-encode-imaputf7
pkgver=1.06
pkgrel=0
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=Encode-IMAPUTF7
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"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/R/RJ/RJBS/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 \
NO_PACKLIST=1 \
NO_PERLLOCAL=1
make
}
check() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make test
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="
1b16d53fc2f8d33f92cb9afb441d3fc2c96eb5bf1ca596b2559d5060de196a79825e3561a2e89004d74c4b3f01d782d7d917a4f5a664a10f4480931b03e5a2fe Encode-IMAPUTF7-1.06.tar.gz
"