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


                                                                   



                               
            





                                         
                                   
                      
                          

                                                                                        

         




                                                                 



                 



                                                                           
                                                                                                                                                                     
# Contributor: Dan Theisen <djt@hxx.in>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-path-tiny
_pkgreal=Path-Tiny
_author=DAGOLDEN
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.112
pkgrel=0
pkgdesc="File path utility"
url="https://metacpan.org/pod/Path::Tiny"
arch="noarch"
license="Apache-2.0"
depends="perl"
checkdepends="perl-test-mockrandom"
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="c387192fc42a78aee506fa332fd9fcd385fbc28fed02bc41b9c50e4cff6c65700ad3fd9d840871ef3bf7a8029719d8fd8b84f993ac816ff65c8d4e2203ad3b3f  Path-Tiny-0.112.tar.gz"