summaryrefslogtreecommitdiff
path: root/system/perl-test-simple/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-07-10 05:52:13 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-07-10 06:17:08 +0000
commitcfbe5c365f12f38fa0120498b8a989cf50064f04 (patch)
treee9ef503b006e6badd626e69b2a0e4478279b5943 /system/perl-test-simple/APKBUILD
parent5c614967c3b0234ecfc8dc7c3fd2fdf580a1b44c (diff)
downloadpackages-cfbe5c365f12f38fa0120498b8a989cf50064f04.tar.gz
packages-cfbe5c365f12f38fa0120498b8a989cf50064f04.tar.bz2
packages-cfbe5c365f12f38fa0120498b8a989cf50064f04.tar.xz
packages-cfbe5c365f12f38fa0120498b8a989cf50064f04.zip
system/perl-test-simple: bugfix bump to 1.302164
Diffstat (limited to 'system/perl-test-simple/APKBUILD')
-rw-r--r--system/perl-test-simple/APKBUILD30
1 files changed, 6 insertions, 24 deletions
diff --git a/system/perl-test-simple/APKBUILD b/system/perl-test-simple/APKBUILD
index dce6203e2..7ff1e0c6d 100644
--- a/system/perl-test-simple/APKBUILD
+++ b/system/perl-test-simple/APKBUILD
@@ -1,9 +1,8 @@
-# Automatically generated by apkbuild-cpan, template 2
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-test-simple
_pkgreal=Test-Simple
-pkgver=1.302162
+pkgver=1.302164
pkgrel=0
pkgdesc="Basic utilities for writing Perl tests"
url="https://metacpan.org/release/Test-Simple"
@@ -16,35 +15,18 @@ subpackages="$pkgname-doc"
source="https://search.cpan.org/CPAN/authors/id/E/EX/EXODIST/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
-prepare() {
- default_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}')
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
-package() {
- cd "$builddir"
- 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
}
-doc() {
- default_doc
- replaces="perl-doc"
+package() {
+ make DESTDIR="$pkgdir" install
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-sha512sums="1e8ac18986f4e8ae44f385a4db025adc714dd355b8590472392468a8865a2a21d0a30484c196f4cb31fcb1fcff85e7e06f8402931d8f9b04fea4139399aad116 Test-Simple-1.302162.tar.gz"
+sha512sums="6b1945bfc7766feabd9fe731b7d993ebdc0bacc0b770f680ece714c1d76708cf03d6ebf803761a1ab9670907d3ba9d201e5dc650901fc9d8e2207c226f5d3024 Test-Simple-1.302164.tar.gz"