blob: e2b9ea445c51b93b07f12cd716776ec26f0ebad1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-dir-manifest
_pkgname=Dir-Manifest
pkgver=0.2.0
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/S/SH/SHLOMIF/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
build() {
perl Build.PL installdirs=vendor
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
./Build
}
check() {
./Build test
}
package() {
./Build install destdir="$pkgdir"
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="202f6342d42e36830215d3b678b9a1be159680fc8a222def00e4f5688403a4f413ad8efa4460824664e37db76fb0d19c5c61b4e5af0060b7567e722992049ffc Dir-Manifest-0.2.0.tar.gz"
|