mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 20:36:40 +02:00
community/perl-text-glob: upgrade 0.10
This commit is contained in:
parent
cb14bc0874
commit
a46ed308f3
@ -1,9 +1,9 @@
|
||||
# Automatically generated by apkbuild-cpan, template 1
|
||||
# Contributor: Francesco Colista <francesco.colista@gmail.com>
|
||||
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
|
||||
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
||||
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
||||
pkgname=perl-text-glob
|
||||
_pkgreal=Text-Glob
|
||||
pkgver=0.09
|
||||
pkgver=0.10
|
||||
pkgrel=0
|
||||
pkgdesc="match globbing patterns against text"
|
||||
url="http://search.cpan.org/dist/Text-Glob/"
|
||||
@ -20,22 +20,24 @@ _builddir="$srcdir/$_pkgreal-$pkgver"
|
||||
|
||||
prepare() {
|
||||
cd "$_builddir"
|
||||
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
|
||||
perl Build.PL installdirs=vendor || return 1
|
||||
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
|
||||
make && make test
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$_builddir"
|
||||
./Build install destdir="$pkgdir" || return 1
|
||||
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
||||
cd "$_builddir"
|
||||
make DESTDIR="$pkgdir" install || return 1
|
||||
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
||||
}
|
||||
|
||||
md5sums="1daa10e087f891c49b720a5c551a024b Text-Glob-0.09.tar.gz"
|
||||
sha256sums="a5a121da026fbc4cc8c1065cfbe76ab5110e88091f454e70ee8c23a933372753 Text-Glob-0.09.tar.gz"
|
||||
sha512sums="9b729e4ece88ad79e1b637c7f35e5e1ecae3fd7f62c408ed4f3fcac2e8e8afff32d7d805e1b0269800aada5ae609d03335d42ac54def2797d301e91fa488ae47 Text-Glob-0.09.tar.gz"
|
||||
md5sums="41983522000416c73bba115b36effe33 Text-Glob-0.10.tar.gz"
|
||||
sha256sums="d0af0549a9dd1c70edcd3b1429ccc3702b79b873375b79cd2bdfe8870e337449 Text-Glob-0.10.tar.gz"
|
||||
sha512sums="9a18048135f18500bb0ba3bf21c6df3fc390ec0f213c4a9331a84e643703805fbe557378284fa66f32a96852c38f832ac750509e257b5cc14b0f3ca6d75f5af0 Text-Glob-0.10.tar.gz"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user