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



                               
               



                                                                  
                                       
              

                          

                                                                                        

         




                                                                 



                 



                                                                           
                                                                                                                                                                            
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
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 OR GPL-1.0+"
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"