aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-math-basecnv
diff options
context:
space:
mode:
authorTimothy Legge <timlegge@gmail.com>2020-02-26 00:28:49 +0000
committerAriadne Conill <ariadne@dereferenced.org>2020-02-27 00:03:26 +0000
commitfd8eb9a7cc30892bd27484e7020c4a53c67d8589 (patch)
treeb251488cd51f9442bdefc0a3536da237050bd28b /community/perl-math-basecnv
parenta92888184605c788f8d17ac249482cd45bcaf002 (diff)
downloadaports-fd8eb9a7cc30892bd27484e7020c4a53c67d8589.tar.bz2
aports-fd8eb9a7cc30892bd27484e7020c4a53c67d8589.tar.xz
community/perl-math-basecnv: move from testing
Diffstat (limited to 'community/perl-math-basecnv')
-rw-r--r--community/perl-math-basecnv/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/community/perl-math-basecnv/APKBUILD b/community/perl-math-basecnv/APKBUILD
new file mode 100644
index 0000000000..98ac0afc92
--- /dev/null
+++ b/community/perl-math-basecnv/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer: Sergey Safarov <s.safarov@gmail.com>
+pkgname=perl-math-basecnv
+pkgver=1.14
+pkgrel=1
+pkgdesc="Math::BaseCnv perl module"
+url="https://metacpan.org/release/Math-BaseCnv/"
+arch="noarch"
+license="GPL-3.0-only"
+depends="perl"
+makedepends="perl-dev"
+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"