aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-spiffy/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/perl-spiffy/APKBUILD')
-rw-r--r--community/perl-spiffy/APKBUILD13
1 files changed, 8 insertions, 5 deletions
diff --git a/community/perl-spiffy/APKBUILD b/community/perl-spiffy/APKBUILD
index 7484c98bb5..73a4403d11 100644
--- a/community/perl-spiffy/APKBUILD
+++ b/community/perl-spiffy/APKBUILD
@@ -4,7 +4,7 @@
pkgname=perl-spiffy
_pkgreal=Spiffy
pkgver=0.46
-pkgrel=0
+pkgrel=1
pkgdesc="Spiffy Perl Interface Framework For You"
url="http://search.cpan.org/dist/Spiffy/"
arch="noarch"
@@ -18,7 +18,7 @@ source="http://search.cpan.org/CPAN/authors/id/I/IN/INGY/$_pkgreal-$pkgver.tar.g
builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
- default_prepare || return 1
+ default_prepare
cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
@@ -28,7 +28,12 @@ prepare() {
build() {
cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
- make && make test
+ make
+}
+
+check() {
+ cd "$builddir"
+ make test
}
package() {
@@ -37,6 +42,4 @@ package() {
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-md5sums="2ec7007c111a6bc2775bb7c57673a24b Spiffy-0.46.tar.gz"
-sha256sums="8f58620a8420255c49b6c43c5ff5802bd25e4f09240c51e5bf2b022833d41da3 Spiffy-0.46.tar.gz"
sha512sums="a1fb02bae4a6edab564c05af2f1b2caaf996d433ec054e07e75a53e88216c46cf14db87a2abdfc9c74f73791267f69129a86bfdaa77492f941104143ca7b8154 Spiffy-0.46.tar.gz"