aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-08-25 01:06:25 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-08-25 01:18:27 -0300
commitadcd036ff19401ab56d3a823697163176b909ef6 (patch)
tree5ed98873b2e21cb6f8de49435536f208caddbb9e
parent8f6c169bef89ace92627b7858c5d11b85ec88b27 (diff)
downloadaports-adcd036ff19401ab56d3a823697163176b909ef6.tar.bz2
aports-adcd036ff19401ab56d3a823697163176b909ef6.tar.xz
testing/perl-string-camelcase: upgrade to 0.04
-rw-r--r--testing/perl-string-camelcase/APKBUILD26
1 files changed, 9 insertions, 17 deletions
diff --git a/testing/perl-string-camelcase/APKBUILD b/testing/perl-string-camelcase/APKBUILD
index 1ee7945b95..8819647235 100644
--- a/testing/perl-string-camelcase/APKBUILD
+++ b/testing/perl-string-camelcase/APKBUILD
@@ -3,46 +3,38 @@
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=perl-string-camelcase
_pkgreal=String-CamelCase
-pkgver=0.03
+pkgver=0.04
pkgrel=0
pkgdesc="camelcase, de-camelcase"
-url="http://search.cpan.org/dist/String-CamelCase/"
+url="https://metacpan.org/release/String-CamelCase"
arch="noarch"
-license="GPL PerlArtistic"
-cpandepends=""
-cpanmakedepends=""
-cpancheckdepends=""
-depends="$cpandepends"
-makedepends="perl-dev $cpanmakedepends"
-checkdepends="$cpancheckdepends"
+license="GPL-1.0-or-later OR Artistic-1.0-Perl"
+depends="perl"
+makedepends="perl-dev"
subpackages="$pkgname-doc"
-source="http://search.cpan.org/CPAN/authors/id/H/HI/HIO/$_pkgreal-$pkgver.tar.gz"
+source="https://cpan.metacpan.org/authors/id/H/HI/HIO/String-CamelCase-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
- default_prepare || return 1
+ default_prepare
- cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor
}
build() {
- cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make
}
package() {
- cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
check() {
- cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make test
}
-sha512sums="dda73a86e6d0b9e2f5fb6095a3c878c7240509aad0474420c0937585961ed2d4629de946417f2946d7f2b568083864e35076e9664e404421d909d3ee91286d5d String-CamelCase-0.03.tar.gz"
+sha512sums="b5a5c1b2f2b3a0be3c25891948ce456d8fccf6247a52efc4045c6607a45108caa92a7f12240ab57b618a27b8c42bf8855e9b1cd84a14bce0151e93954c93b256 String-CamelCase-0.04.tar.gz"