aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-devel-stacktrace-ashtml/APKBUILD
diff options
context:
space:
mode:
authorRoberto Oliveira <robertoguimaraes8@gmail.com>2017-11-11 11:32:54 +0000
committerCarlo Landmeter <clandmeter@alpinelinux.org>2017-11-13 09:08:07 +0000
commit12e7bf03e0fc208afb09a53437fd29d829bf7add (patch)
treefa1453386c3db9b3fd45e21e362e4c34d775978d /main/perl-devel-stacktrace-ashtml/APKBUILD
parentcea49467c6e236bf233eecb14126315e08f50cd7 (diff)
downloadaports-12e7bf03e0fc208afb09a53437fd29d829bf7add.tar.bz2
aports-12e7bf03e0fc208afb09a53437fd29d829bf7add.tar.xz
main/perl-devel-stacktrace-ashtml: upgrade to 0.15 and modernize
Diffstat (limited to 'main/perl-devel-stacktrace-ashtml/APKBUILD')
-rw-r--r--main/perl-devel-stacktrace-ashtml/APKBUILD31
1 files changed, 13 insertions, 18 deletions
diff --git a/main/perl-devel-stacktrace-ashtml/APKBUILD b/main/perl-devel-stacktrace-ashtml/APKBUILD
index c52d1019d5..d25b510b69 100644
--- a/main/perl-devel-stacktrace-ashtml/APKBUILD
+++ b/main/perl-devel-stacktrace-ashtml/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-devel-stacktrace-ashtml
-pkgver=0.11
+pkgver=0.15
pkgrel=0
pkgdesc="Devel::StackTrace::AsHTML perl module"
url="http://search.cpan.org/dist/Devel-StackTrace-AsHTML/"
@@ -9,31 +9,26 @@ arch="noarch"
license="GPLv2 or Artistic"
depends="perl perl-devel-stacktrace"
makedepends="perl-dev"
-install=""
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/M/MI/MIYAGAWA/Devel-StackTrace-AsHTML-$pkgver.tar.gz"
-_builddir="$srcdir"/Devel-StackTrace-AsHTML-$pkgver
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
+builddir="$srcdir/Devel-StackTrace-AsHTML-$pkgver"
build() {
- cd "$_builddir"
- PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
- make && make test || return 1
+ cd "$builddir"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ cd "$builddir"
+ make test
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-sha512sums="c79180315e225579986691c60463adb8a0b0440edf87650375cdf9e06bc3340b701bdc4d5b6942d50fc1e6a9f1deb69437325a350c4b4a661c7d3e68d4baaf1b Devel-StackTrace-AsHTML-0.11.tar.gz"
+sha512sums="aa81f3b88e27c83e1f8a51981b201edd9cecaa0430a16f72f0a05d323d77e9ede21c4629a40779ea5e2aa5759ecc0d9cecf67a81e752b4a82d360f23561933ce Devel-StackTrace-AsHTML-0.15.tar.gz"