blob: 3e343eb97011bbdf1682bb67a52fc4099cb1323b (
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
|
# 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=1
pkgdesc='A pure Perl multi-level hash/array DBM that supports transactions'
arch=('any')
url='https://metacpan.org/release/DBM-Deep'
license=('PerlArtistic' 'GPL')
depends=('perl-dbd-mysql' 'perl-dbd-sqlite')
checkdepends=('perl-test-deep' 'perl-test-warn' 'perl-test-exception' 'perl-test-pod' 'perl-test-pod-coverage')
makedepends=('perl-module-build>=0.42')
_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
}
|