summaryrefslogblamecommitdiff
path: root/user/perl-dir-manifest/APKBUILD
blob: 3df6fdbf87fbcb1d3a818a9d2b1638fbd104e656 (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-dir-manifest
_pkgreal=Dir-Manifest
_author=SHLOMIF
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.6.1
pkgrel=0
pkgdesc="Perl module to turn a directory and files into a dictionary"
url="https://metacpan.org/release/Dir-Manifest"
arch="noarch"
license="X11"
depends="perl perl-moo perl-path-tiny"
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 Build.PL installdirs=vendor
	./Build
}

check() {
	./Build test
}

package() {
	./Build install destdir="$pkgdir"
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

sha512sums="e816d1f656bc992fc1f065b0adff53e83af03da9842987df9382ec12875ca7081ca4aa49d775c84d9f6602cb550acb1b8baf3c1f528a999e3bf39dcea2498efd  Dir-Manifest-0.6.1.tar.gz"