aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-math-basecnv/APKBUILD
blob: 0fb5b199df69a4d07029ea0e37fc27e6b8f7c10a (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
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Sergey Safarov <s.safarov@gmail.com>
pkgname=perl-math-basecnv
pkgver=1.14
pkgrel=3
pkgdesc="Math::BaseCnv perl module"
url="https://metacpan.org/release/Math-BaseCnv/"
arch="noarch"
license="GPL-3.0-only"
depends="perl"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/P/PI/PIP/Math-BaseCnv-$pkgver.tgz"

builddir="$srcdir"/Math-BaseCnv-$pkgver

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

check() {
	make test
}

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

sha512sums="0100dcf8786fe0983bbddffb2a44876d75cf023b78a04687b4d410c3667e44606f8315fb30ee5ca4efd26d8784be8af07cd810813e72d9b0c9ae16725e09a5e6  Math-BaseCnv-1.14.tgz"