From a99afb84a24e1e6ece569371a4ed411c9b1559a5 Mon Sep 17 00:00:00 2001 From: Síle Ekaterin Liszka Date: Sun, 22 May 2022 17:51:45 +0000 Subject: user/perl-set-intspan: new package --- user/perl-set-intspan/APKBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 user/perl-set-intspan/APKBUILD (limited to 'user/perl-set-intspan/APKBUILD') 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 +# Maintainer: Síle Ekaterin Liszka +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" -- cgit v1.2.3-70-g09d2