summaryrefslogblamecommitdiff
path: root/user/perl-exporter-tiny/APKBUILD
blob: d0c70bac1ec7340ccebfad5aa1ce5e30c8e0ea4b (plain) (tree)
1
2
3
4
5
6
7
8


                                                                   



                               
               




                                                                  
              

                          

                                                                                        

         




                                                                 



                 



                                                                           
                                                                                                                                                                            
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-exporter-tiny
_pkgreal=Exporter-Tiny
_author=TOBYINK
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=1.002002
pkgrel=0
pkgdesc="Light-weight exporter with the features of Sub::Exporter"
url="https://metacpan.org/release/Exporter-Tiny"
arch="noarch"
license="Artistic-1.0-Perl"
depends="perl"
makedepends="perl-dev"
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="b6d39ba1824f6c9d68cf75e7f28fd896c2c475e419f0b1aadec58d4e7e5c8d3fd7bf85d841758772055470de56ad7a3ad6787cfd9d6c5d61d8449cf8f40bda8d  Exporter-Tiny-1.002002.tar.gz"