aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-04-24 13:29:50 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-04-24 16:52:36 +0000
commita95996101e5f12ad1806143e3baace92f449f968 (patch)
treeacfc290c3fbd38a88573c63c1ca30651ab44bc21
parentf30d943ad828bda82c8e5b8f069c0d11c7a577e0 (diff)
downloadaports-a95996101e5f12ad1806143e3baace92f449f968.tar.gz
aports-a95996101e5f12ad1806143e3baace92f449f968.tar.bz2
aports-a95996101e5f12ad1806143e3baace92f449f968.tar.xz
main/perl-exporter-tiny: upgrade to 1.002002
-rw-r--r--main/perl-exporter-tiny/APKBUILD19
1 files changed, 7 insertions, 12 deletions
diff --git a/main/perl-exporter-tiny/APKBUILD b/main/perl-exporter-tiny/APKBUILD
index d1b6ec746c..2acd71e9d7 100644
--- a/main/perl-exporter-tiny/APKBUILD
+++ b/main/perl-exporter-tiny/APKBUILD
@@ -3,14 +3,13 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-exporter-tiny
_pkgreal=Exporter-Tiny
-pkgver=1.002001
-pkgrel=1
+pkgver=1.002002
+pkgrel=0
pkgdesc="An exporter with the features of Sub::Exporter but only core dependencies"
url="https://metacpan.org/release/Exporter-Tiny/"
arch="noarch"
-license="GPL PerlArtistic"
-cpanmakedepends="perl-test-warnings perl-test-fatal"
-makedepends="perl-dev $cpanmakedepends"
+license="GPL-1.0-or-later OR Artistic-1.0-Perl"
+makedepends="perl-dev perl-test-warnings perl-test-fatal"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/T/TO/TOBYINK/$_pkgreal-$pkgver.tar.gz"
@@ -19,26 +18,22 @@ builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
default_prepare
- cd "$builddir"
- export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
- cd "$builddir"
- export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make
}
check() {
- cd "$builddir"
make test
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-sha512sums="b247e7785e02c3346f231736a430c2d54e5ac93c175892090c40121c86eb255ce4d138c65e31836fd2970b45fb71dc7e68ea3c45a06a9e9c4135b45df48621d8 Exporter-Tiny-1.002001.tar.gz"
+sha512sums="b6d39ba1824f6c9d68cf75e7f28fd896c2c475e419f0b1aadec58d4e7e5c8d3fd7bf85d841758772055470de56ad7a3ad6787cfd9d6c5d61d8449cf8f40bda8d Exporter-Tiny-1.002002.tar.gz"