aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJ0WI <J0WI@users.noreply.github.com>2019-02-26 22:25:31 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2019-03-20 17:19:18 +0000
commite949cfc3db397bdb38aa6f944bb8e620fa6e3f88 (patch)
tree10e1933ec7088eff42b77eb29c4d2a33a17efb7a
parentbb1da4d7d71783e39716223708c1c0721aed2fc8 (diff)
downloadaports-e949cfc3db397bdb38aa6f944bb8e620fa6e3f88.tar.gz
aports-e949cfc3db397bdb38aa6f944bb8e620fa6e3f88.tar.bz2
aports-e949cfc3db397bdb38aa6f944bb8e620fa6e3f88.tar.xz
Replace main/perl-try-tiny with newer community/perl-try-tiny
-rw-r--r--community/perl-try-tiny/APKBUILD44
-rw-r--r--main/perl-try-tiny/APKBUILD21
2 files changed, 12 insertions, 53 deletions
diff --git a/community/perl-try-tiny/APKBUILD b/community/perl-try-tiny/APKBUILD
deleted file mode 100644
index c29bd72298..0000000000
--- a/community/perl-try-tiny/APKBUILD
+++ /dev/null
@@ -1,44 +0,0 @@
-# Automatically generated by apkbuild-cpan, template 1
-# Contributor: Francesco Colista <fcolista@alpinelinux.org>
-# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
-pkgname=perl-try-tiny
-_pkgreal=Try-Tiny
-pkgver=0.30
-pkgrel=0
-pkgdesc="minimal try/catch with proper preservation of $@"
-url="http://search.cpan.org/dist/Try-Tiny/"
-arch="noarch"
-license="MIT"
-cpandepends="perl-capture-tiny perl-pod-coverage"
-cpanmakedepends="grep perl-sub-name"
-depends="$cpandepends"
-makedepends="perl-dev $cpanmakedepends"
-subpackages="$pkgname-doc"
-source="http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/$_pkgreal-$pkgver.tar.gz"
-
-builddir="$srcdir/$_pkgreal-$pkgver"
-
-prepare() {
- cd "$builddir"
- 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}'`
- make
-}
-
-check() {
- cd "$builddir"
- make test
-}
-
-package() {
- cd "$builddir"
- make DESTDIR="$pkgdir" install
- find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
-}
-
-sha512sums="f523736ab0504ca0f7150be312e62988c4b9473a9e8469b0746dc8364945e2922c64c92e95e6c2b5792c5d6399dabea3d00aa45c065155b95519d5658a07216c Try-Tiny-0.30.tar.gz"
diff --git a/main/perl-try-tiny/APKBUILD b/main/perl-try-tiny/APKBUILD
index bfe9fb7676..2c2c94ed75 100644
--- a/main/perl-try-tiny/APKBUILD
+++ b/main/perl-try-tiny/APKBUILD
@@ -1,30 +1,33 @@
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com>
-# Maintainer: Kiyoshi Aman <kiyoshi.aman@gmail.com>
+# Contributor: Francesco Colista <fcolista@alpinelinux.org>
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-try-tiny
_pkgreal=Try-Tiny
-pkgver=0.22
+pkgver=0.30
pkgrel=1
-pkgdesc="unknown"
-url="http://search.cpan.org/dist/Try-Tiny/"
+pkgdesc="minimal try/catch with proper preservation of $@"
+url="https://search.cpan.org/dist/Try-Tiny/"
arch="noarch"
-license="GPL PerlArtistic"
-cpandepends=""
-cpanmakedepends=""
+license="MIT"
+cpandepends="perl-capture-tiny perl-pod-coverage"
+cpanmakedepends="grep perl-sub-name"
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
-source="http://search.cpan.org/CPAN/authors/id/D/DO/DOY/$_pkgreal-$pkgver.tar.gz"
+source="https://search.cpan.org/CPAN/authors/id/E/ET/ETHER/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
cd "$builddir"
+ 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}'`
make
}
@@ -39,4 +42,4 @@ package() {
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-sha512sums="4e39b4da16480bb2b93c05e8e016e9d1b5a68f29c527b19bbf9333442ca708e88dd2720a5812d141a152ae088ed1fcb1ce179018c2d0fe105545256396b2ccc4 Try-Tiny-0.22.tar.gz"
+sha512sums="f523736ab0504ca0f7150be312e62988c4b9473a9e8469b0746dc8364945e2922c64c92e95e6c2b5792c5d6399dabea3d00aa45c065155b95519d5658a07216c Try-Tiny-0.30.tar.gz"