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


                                                                   



                               






                                         
                                   
                      
                          

                                                                                        

         




                                                                 



                 




                                                                                                                                                                     
# 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.108
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="21cbc8ec84474a2fc14b77a2c8b659676d4842a87a7572497c0dd6ba1c2e5f91cdefa30fc9578fdc416d8c8ee4155ff302833925c1fdf9242c898ba6a0ebee13  Path-Tiny-0.108.tar.gz"