blob: 103264b3969bb8c4674288130efdcf8984c0c23d (
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
|
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-text-bibtex
_pkgreal=Text-BibTeX
pkgver=0.77
pkgrel=0
pkgdesc="Perl module for Text-BibTeX"
url="http://search.cpan.org/dist/Text-BibTeX/"
arch="all"
license="GPL PerlArtistic"
cpandepends=""
cpanmakedepends="perl-module-build perl-config-autoconf perl-extutils-libbuilder perl-scalar-list-utils"
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/A/AM/AMBS/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
default_prepare || return 1
cd "$builddir"
if [ -e Build.PL ]; then
perl Build.PL installdirs=vendor || return 1
else
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
fi
}
build() {
cd "$builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
./Build && ./Build test
}
package() {
cd "$builddir"
./Build install destdir="$pkgdir" || return 1
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
md5sums="0811516b5d25ca922d950d571514c7ae Text-BibTeX-0.77.tar.gz"
sha256sums="6459bb9d93ab5520959ce0ebd28cdf34dcf685774e40f377bcc39c3935ea6e4e Text-BibTeX-0.77.tar.gz"
sha512sums="b212560ff9aa87cc23154fa6ccca80c307ae4111b24c8184e65e2332a273936a8e3a3131e5056839e4126790f26ef3ce8170d7e3393a8ea3841c7532319e6ee2 Text-BibTeX-0.77.tar.gz"
|