diff options
author | Timothy Legge <timlegge@gmail.com> | 2020-02-25 23:41:44 +0000 |
---|---|---|
committer | Ariadne Conill <ariadne@dereferenced.org> | 2020-02-27 00:03:25 +0000 |
commit | 4ff27dac6a03294c59aea394f4a00c4054e3f8bc (patch) | |
tree | 568a9dc9c19413e67a98b2e19235a59c94425d1f /community/perl-crypt-smime | |
parent | 840b395804eefe12b46298dc1f8557e61e108263 (diff) | |
download | aports-4ff27dac6a03294c59aea394f4a00c4054e3f8bc.tar.bz2 aports-4ff27dac6a03294c59aea394f4a00c4054e3f8bc.tar.xz |
community/perl-crypt-smime: move from testing
Diffstat (limited to 'community/perl-crypt-smime')
-rw-r--r-- | community/perl-crypt-smime/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/community/perl-crypt-smime/APKBUILD b/community/perl-crypt-smime/APKBUILD new file mode 100644 index 0000000000..2a723ea360 --- /dev/null +++ b/community/perl-crypt-smime/APKBUILD @@ -0,0 +1,34 @@ +# Automatically generated by apkbuild-cpan, template 2 +# Contributor: Timothy Legge <timlegge@gmail.com> +# Maintainer: Timothy Legge <timlegge@gmail.com> +pkgname=perl-crypt-smime +_pkgreal=Crypt-SMIME +pkgver=0.25 +pkgrel=2 +pkgdesc="S/MIME message signing, verification, encryption and decryption" +url="https://metacpan.org/release/Crypt-SMIME/" +arch="all" +license="GPL-1.0-or-later OR Artistic-1.0-Perl" +makedepends="perl-extutils-cchecker perl-test-exception perl-extutils-pkgconfig +openssl-dev perl-dev" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/M/MI/MIKAGE/Crypt-SMIME-$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="84f61c247d095ad345a6c736120d11c516e776c5f4a599a4c275481c4bd4597fcb2e0a17da5dc3e111310d3f99f9f39fb0876477098d9e6d9eabd777d145176f Crypt-SMIME-0.25.tar.gz" |