From 6e4526d55bbb594cb3db7520b8401521a74a3c18 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Tue, 2 Oct 2018 19:58:59 +0000 Subject: user/perl-number-compare: useless new package --- user/perl-number-compare/APKBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 user/perl-number-compare/APKBUILD (limited to 'user/perl-number-compare/APKBUILD') diff --git a/user/perl-number-compare/APKBUILD b/user/perl-number-compare/APKBUILD new file mode 100644 index 000000000..c88666cc0 --- /dev/null +++ b/user/perl-number-compare/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: A. Wilcox +# Maintainer: Adélie Perl Team +pkgname=perl-number-compare +pkgver=0.03 +pkgrel=0 +pkgdesc="Numeric comparisons for Perl" +url="https://metacpan.org/release/Number-Compare" +arch="noarch" +license="Artistic-1.0-Perl" +depends="" +makedepends="perl-dev" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/R/RC/RCLAMP/Number-Compare-$pkgver.tar.gz" +builddir="$srcdir/Number-Compare-$pkgver" + +build() { + cd "$builddir" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "$builddir" + make test +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="fc7efb0177bcb84142619b7d8c0252f4548e547650ddbe9cfafaba97b8ae791c20fbffa6f8b01449b9dd217d9914f94bfeaff57cdfdc2c11e2a1456992bd9893 Number-Compare-0.03.tar.gz" -- cgit v1.2.3-70-g09d2