blob: 8c921db866f2d700fac1e4f92c8a73ae20ae047f (
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
|
# Contributor: Ordoban <dirk.langer@vvovgonik.de>
# Generator : CPANPLUS::Dist::Arch 1.32
pkgname='perl-bioperl'
pkgver='1.7.8'
pkgrel='1'
pkgdesc="Perl modules for biology"
arch=('any')
license=('PerlArtistic' 'GPL')
options=('!emptydirs')
depends=('perl-data-stag>=0' 'perl-error>=0' 'perl-graph>=0' 'perl-http-message>=0' 'perl-io-string>=0' 'perl-io-stringy>=0' 'perl-ipc-run>=0' 'perl-list-moreutils>=0' 'perl-module-build>=0' 'perl-set-scalar>=0' 'perl-uri>=0' 'perl-xml-dom>=0' 'perl-xml-libxml>=0' 'perl-xml-sax>=0' 'perl-xml-sax-base>=0' 'perl-xml-sax-writer>=0' 'perl-xml-twig>=0' 'perl-xml-writer>=0' 'perl-yaml>=0' 'perl-libwww>=0' 'libxml-perl>=0' 'perl>=5.006')
makedepends=()
checkdepends=('perl-test-memory-cycle>=0' 'perl-test-most>=0' 'perl-test-requiresinternet>=0' 'perl-test-weaken>=0')
url='https://metacpan.org/release/BioPerl'
source=("https://cpan.metacpan.org/authors/id/C/CJ/CJFIELDS/BioPerl-$pkgver.tar.gz")
md5sums=('8164ac52f37bc6355ec1b69633ac795f')
sha512sums=('0fa4ca0691409dd2d0ad431f47be41544c3a627098d17a09b6796b3a4cb0d7d1502bed5118b6e2139d299e72780f60e5d97570e945d03d63f38e8326f49e3ba9')
_distdir="BioPerl-$pkgver"
build() {
export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
PERL_AUTOINSTALL=--skipdeps \
PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
MODULEBUILDRC=/dev/null
cd "$srcdir/$_distdir"
/usr/bin/perl Makefile.PL
make
}
check() {
cd "$srcdir/$_distdir"
export PERL_MM_USE_DEFAULT=1 PERL5LIB="."
make test
}
package() {
cd "$srcdir/$_distdir"
make install
find "$pkgdir" \( -name .packlist -o -name perllocal.pod \) -delete
}
# Local Variables:
# mode: shell-script
# sh-basic-offset: 2
# End:
# vim:set ts=2 sw=2 et:
|