diff options
Diffstat (limited to 'community/perl-text-bibtex/APKBUILD')
-rw-r--r-- | community/perl-text-bibtex/APKBUILD | 41 |
1 files changed, 17 insertions, 24 deletions
diff --git a/community/perl-text-bibtex/APKBUILD b/community/perl-text-bibtex/APKBUILD index e7516fd2ef9..51a9f0e4c41 100644 --- a/community/perl-text-bibtex/APKBUILD +++ b/community/perl-text-bibtex/APKBUILD @@ -1,43 +1,36 @@ -# Automatically generated by apkbuild-cpan, template 1 +# Automatically generated by apkbuild-cpan, template 3 # Contributor: Francesco Colista <fcolista@alpinelinux.org> # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=perl-text-bibtex +#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan _pkgreal=Text-BibTeX -pkgver=0.88 +pkgver=0.89 pkgrel=2 -pkgdesc="Perl module for Text-BibTeX" -url="http://search.cpan.org/dist/Text-BibTeX/" +pkgdesc="interface to read and parse BibTeX files" +url="https://metacpan.org/release/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" +license="GPL-1.0-or-later OR Artistic-1.0-Perl" +depends="perl" +makedepends="perl-dev perl-module-build perl-config-autoconf perl-extutils-libbuilder perl-capture-tiny" subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/A/AM/AMBS/$_pkgreal-$pkgver.tar.gz" +source="https://cpan.metacpan.org/authors/id/A/AM/AMBS/Text-BibTeX-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" -prepare() { - default_prepare - cd "$builddir" - perl Build.PL installdirs=vendor -} - build() { - cd "$builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') + perl Build.PL --installdirs=vendor ./Build } check() { - cd "$builddir" - ./Build test + ./Build test } package() { - cd "$builddir" - ./Build install destdir="$pkgdir" - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete + ./Build install --destdir="$pkgdir" + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } -sha512sums="63425590feb479b43b70605144edad400650471ddefbc3dc40f5bd1b6c78e5e50eabaf60501e469de520e36221bebd1806eae8d45124b59feef9446fc3257d18 Text-BibTeX-0.88.tar.gz" +sha512sums=" +68f730fbacf541e693181d7b1f74bf7531222f3933a95651940d2ee5d48806188f2ab64329edf90eb3393d7fc3ddd58476b9908fde60e758c949c0ede6154d5b Text-BibTeX-0.89.tar.gz +" |