summaryrefslogblamecommitdiff
path: root/system/perl-file-remove/APKBUILD
blob: d4276fcd964554c9f8f6e70fbf7d3ea853bd9395 (plain) (tree)
1
2
3
4
5
6
7
8
9
10




                                                                   


                               

           
                                      
                                              

                                           

              
                          
                                                                                        

                                    
         
                                                                 



            



                 



                                                                           
                                                                                                                                                                      
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-file-remove
_pkgreal=File-Remove
_author=SHLOMIF
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=1.58
pkgrel=0
pkgdesc="Remove files and directories"
url="https://metacpan.org/release/File-Remove"
arch="noarch"
license="GPL-2.0-only OR Artistic-1.0-Perl"
depends="perl"
makedepends=""
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 || return 1
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

sha512sums="2d616751328d57ff6975775189f92745fb3cb1d69675049ebddd96a2612c11c62c1995a70720efe4e73a9c10b9a2ec5528b90d468815e7c2ee395145241608e2  File-Remove-1.58.tar.gz"