summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-02 19:58:59 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-02 19:58:59 +0000
commit6e4526d55bbb594cb3db7520b8401521a74a3c18 (patch)
tree7e1594954b92360af21649205755bcd0de843fcd
parent8777ed2584925647d8b6ad7c5fcf06c375a1fdc0 (diff)
downloadpackages-6e4526d55bbb594cb3db7520b8401521a74a3c18.tar.gz
packages-6e4526d55bbb594cb3db7520b8401521a74a3c18.tar.bz2
packages-6e4526d55bbb594cb3db7520b8401521a74a3c18.tar.xz
packages-6e4526d55bbb594cb3db7520b8401521a74a3c18.zip
user/perl-number-compare: useless new package
-rw-r--r--user/perl-number-compare/APKBUILD33
1 files changed, 33 insertions, 0 deletions
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 <awilfox@adelielinux.org>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+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"