summaryrefslogtreecommitdiff
path: root/user/perl-set-intspan
diff options
context:
space:
mode:
authorSíle Ekaterin Liszka <sheila@vulpine.house>2022-05-22 17:51:45 +0000
committerZach van Rijn <me@zv.io>2022-10-21 18:34:00 -0500
commita99afb84a24e1e6ece569371a4ed411c9b1559a5 (patch)
treefbd8aa87c57b272669e938bcf0040398f10004e3 /user/perl-set-intspan
parent828e477de23b26dfe4b30d6eeaf0d5b2674f3c80 (diff)
downloadpackages-a99afb84a24e1e6ece569371a4ed411c9b1559a5.tar.gz
packages-a99afb84a24e1e6ece569371a4ed411c9b1559a5.tar.bz2
packages-a99afb84a24e1e6ece569371a4ed411c9b1559a5.tar.xz
packages-a99afb84a24e1e6ece569371a4ed411c9b1559a5.zip
user/perl-set-intspan: new package
Diffstat (limited to 'user/perl-set-intspan')
-rw-r--r--user/perl-set-intspan/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-set-intspan/APKBUILD b/user/perl-set-intspan/APKBUILD
new file mode 100644
index 000000000..050496a83
--- /dev/null
+++ b/user/perl-set-intspan/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
+# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
+pkgname=perl-set-intspan
+_pkgreal=Set-IntSpan
+_author=SWMCD
+_au=${_author%%"${_author#??}"}
+_a=${_author%%"${_author#?}"}
+pkgver=1.19
+pkgrel=0
+pkgdesc="Perl module for working with sets of integers"
+url="https://metacpan.org/pod/Set::IntSpan"
+arch="noarch"
+license="Artistic-1.0-Perl OR GPL-1.0+"
+depends="perl"
+makedepends=""
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgreal-$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="de743bc26e4e9daf0bff636279219776421a31d1b3fa5d8e9232e051f2396cbfdd339dacd4aadc006cf31527935550c8659d8c80cbaed5942895239ab36c9cd9 Set-IntSpan-1.19.tar.gz"