diff options
-rw-r--r-- | user/perl-set-intspan/APKBUILD | 34 |
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" |