summaryrefslogblamecommitdiff
path: root/user/perl-file-sharedir/APKBUILD
blob: 4f48a14120fdedd1acc92b581cd2a424efc84dc8 (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-file-sharedir
_pkgreal=File-ShareDir
_author=REHSACK
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=1.118
pkgrel=0
pkgdesc="Locate files shared by Perl modules"
url="https://metacpan.org/release/File-ShareDir"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-2.0-only"
depends="perl perl-class-inspector perl-file-sharedir-install
	perl-list-moreutils perl-params-util"
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="890f33e96333f7b07707d722e59e7da9a287112062814ef294594ac67f2f7349f905c009e6cd70d3af3a4de85335b074ec5a61194f9b0495f3e793d6ca635853  File-ShareDir-1.118.tar.gz"