summaryrefslogblamecommitdiff
path: root/user/perl-file-basedir/APKBUILD
blob: 2080e32cd13e4aae8f7c7702bb5b005db1896482 (plain) (tree)
1
2
3
4
5
6
7


                                                                   



                               





                                                       
                                                   


                                        

                                                                                        

         




                                                                 



                 




                                                                                                                                                                       
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-file-basedir
_pkgreal=File-BaseDir
_author=KIMRYAN
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.08
pkgrel=0
pkgdesc="Base directory specification support for Perl"
url="https://metacpan.org/release/File-BaseDir"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-2.0-only"
depends="perl perl-ipc-system-simple xdg-user-dirs"
checkdepends="perl-file-which"
makedepends="perl-dev perl-module-build"
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="6b44edca34906c34d574933c21c0e3a1a236a431a3ac12caeabcc2638688dfe1c02efc9a1e75a2c2cd522de0dca00df0620cd262c184ec938cc97766d1121f99  File-BaseDir-0.08.tar.gz"