summaryrefslogtreecommitdiff
path: root/community/perl-mime-base32/APKBUILD
blob: a5dea2be6dd14457f39b6ac950a979e8cfa5a916 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-mime-base32
_pkgreal=MIME-Base32
pkgver=1.303
_pkgver=1.303
pkgrel=2
pkgdesc="Perl module for MIME-Base32"
url="https://metacpan.org/release/MIME-Base32/"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="perl"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/R/RE/REHSACK/$_pkgreal-$pkgver.tar.gz"

builddir="$srcdir"/$_pkgreal-$_pkgver

check() {
	make test
}

prepare() {
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}

build() {
	make
}

package() {
	make DESTDIR="$pkgdir" install
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

sha512sums="48c2541d08976fba154816d4f803cc20d8d51f8a7e4084cd85e23f7559868611adcce133f7dd8728cb21bbec67c325a99e68e36149b4ae3bfae97a6e57f4b806  MIME-Base32-1.303.tar.gz"