summaryrefslogblamecommitdiff
path: root/user/perl-file-basedir/APKBUILD
blob: 071a784b399a513bbd5fb17cba67fcbd8bd12cfc (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-basedir
_pkgreal=File-BaseDir
_author=PLICEASE
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.09
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-1.0+"
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="07b07f43bce392beda6ac10729925c3b6ad850f0af5485c3f540b72353a1e877e7e9b76580057197cf68864086f1a3d1f9459cfcf142f16772f48125426d72db  File-BaseDir-0.09.tar.gz"