blob: 4f10d36aa0a7d00ed608926583c7cb0d5155a8b4 (
plain)
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
|
# CPAN Name : DBM::Deep
# Contributor: Anton Leontiev <bunder /at/ t-25.ru>
# Generator : CPANPLUS::Dist::Arch 1.30
# Maintainer : Erich Eckner <arch at eckner dot net>
pkgname=perl-dbm-deep
pkgver=2.0013
pkgrel='4'
pkgdesc='A pure Perl multi-level hash/array DBM that supports transactions'
arch=('any')
url='https://metacpan.org/release/DBM-Deep'
license=('PerlArtistic' 'GPL')
provides=(
'perl-dbm-deep-array=2.0013'
'perl-dbm-deep-engine=2.0013'
'perl-dbm-deep-engine-dbi=2.0013'
'perl-dbm-deep-engine-file=2.0013'
'perl-dbm-deep-hash=2.0013'
'perl-dbm-deep-iterator=2.0013'
'perl-dbm-deep-iterator-dbi=2.0013'
'perl-dbm-deep-iterator-file=2.0013'
'perl-dbm-deep-iterator-file-bucketlist=2.0013'
'perl-dbm-deep-iterator-file-index=2.0013'
'perl-dbm-deep-null=2.0013'
'perl-dbm-deep-sector=2.0013'
'perl-dbm-deep-sector-dbi=2.0013'
'perl-dbm-deep-sector-dbi-reference=2.0013'
'perl-dbm-deep-sector-dbi-scalar=2.0013'
'perl-dbm-deep-sector-file=2.0013'
'perl-dbm-deep-sector-file-bucketlist=2.0013'
'perl-dbm-deep-sector-file-data=2.0013'
'perl-dbm-deep-sector-file-index=2.0013'
'perl-dbm-deep-sector-file-null=2.0013'
'perl-dbm-deep-sector-file-reference=2.0013'
'perl-dbm-deep-sector-file-scalar=2.0013'
'perl-dbm-deep-storage=2.0013'
'perl-dbm-deep-storage-dbi=2.0013'
'perl-dbm-deep-storage-file=2.0013')
depends=(
'perl>=5.8.4'
'perl-digest-md5>=1.00'
'perl-scalar-list-utils>=1.14')
makedepends=(
'perl-file-path>=0.01'
'perl-file-temp>=0.01'
'perl-module-build>=0.42'
'perl-pod-usage>=1.3'
'perl-test-deep>=0.095'
'perl-test-exception>=0.21'
'perl-test-simple>=0.88'
'perl-test-warn>=0.08')
checkdepends=('perl-test-deep' 'perl-test-warn' 'perl-test-exception' 'perl-test-pod' 'perl-test-pod-coverage' 'perl-filehandle-fmode')
_distdir="DBM-Deep-${pkgver}"
source=("http://search.cpan.org/CPAN/authors/id/R/RK/RKINYON/${_distdir}.tar.gz")
options=(!emptydirs)
sha512sums=('67ba8ed0057004620255ffe013379b2f08c0f1878ec921b9c2d97b80b0b68e66e9b8018a3beab1875899863638a500781e6ec19c71ce6cd91583415dacb4e32c')
sanitize() {
unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
export PERL_MM_USE_DEFAULT=1
export LONG_TESTS=1
}
build() {
cd ${_distdir}
sanitize
perl Build.PL --installdirs vendor --destdir "$pkgdir"
perl Build
}
check() {
cd ${_distdir}
sanitize
perl Build test
}
package() {
cd ${_distdir}
sanitize
perl Build install
find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
}
|