summaryrefslogblamecommitdiff
path: root/user/perl-path-tiny/APKBUILD
blob: f75e55398f5e629b8a211234ad50345ed3731214 (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.114
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="932d9d4658af1e578142ff3bb4e541e6fb7754397c55f869d17f9989a181c10b528779aeedcaafc2cd879a31a6febe63d220cbf843f187db92e6ae1087c39e56  Path-Tiny-0.114.tar.gz"