summaryrefslogblamecommitdiff
path: root/user/perl-class-tiny/APKBUILD
blob: b99f8c266cbf13223fa2599ecde370c37a427f3c (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-class-tiny
_pkgreal=Class-Tiny
_author=DAGOLDEN
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=1.008
pkgrel=0
pkgdesc="Minimalist class construction for Perl"
url="https://metacpan.org/release/Class-Tiny"
arch="noarch"
license="Apache-2.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="908eb8547e01036ef361f0a8623d028b1e733ea003fc227788b9c18d0db544a70dbe47de18822f9699a19156f36eac73caeb4849d44eea14ada1128afdb7efbd  Class-Tiny-1.008.tar.gz"