aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--community/perl-list-moreutils/APKBUILD39
-rw-r--r--main/perl-list-moreutils/APKBUILD26
2 files changed, 14 insertions, 51 deletions
diff --git a/community/perl-list-moreutils/APKBUILD b/community/perl-list-moreutils/APKBUILD
deleted file mode 100644
index 15c1aea2e2..0000000000
--- a/community/perl-list-moreutils/APKBUILD
+++ /dev/null
@@ -1,39 +0,0 @@
-# Automatically generated by apkbuild-cpan, template 1
-# Contributor:
-# Maintainer:
-pkgname=perl-list-moreutils
-_pkgreal=List-MoreUtils
-pkgver=0.418
-pkgrel=0
-pkgdesc="Provide the stuff missing in List::Util"
-url="http://search.cpan.org/dist/List-MoreUtils/"
-arch="all"
-license="GPL PerlArtistic"
-cpandepends="perl-exporter-tiny"
-cpanmakedepends=" perl-test-leaktrace"
-depends="$cpandepends"
-makedepends="perl-dev $cpanmakedepends"
-subpackages="$pkgname-doc"
-source="http://search.cpan.org/CPAN/authors/id/R/RE/REHSACK/$_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 && make test
-}
-
-package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
- find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
-}
-
-sha512sums="7ba4395262c4406e822baf40e5a32aa6d93779a56d2567c4920f085ab2580c376db41e2141e4b9b43860d65122ebe73a03dfb0ed76a32f087b05ca7eb90f6d6e List-MoreUtils-0.418.tar.gz"
diff --git a/main/perl-list-moreutils/APKBUILD b/main/perl-list-moreutils/APKBUILD
index b1eb94ba06..63c85764e6 100644
--- a/main/perl-list-moreutils/APKBUILD
+++ b/main/perl-list-moreutils/APKBUILD
@@ -3,39 +3,41 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-list-moreutils
_pkgreal=List-MoreUtils
-pkgver=0.416
-pkgrel=1
+pkgver=0.418
+pkgrel=0
pkgdesc="Provide the stuff missing in List::Util"
url="http://search.cpan.org/dist/List-MoreUtils/"
arch="all"
license="GPL PerlArtistic"
cpandepends="perl-exporter-tiny"
-cpanmakedepends=" perl-test-leaktrace"
+cpanmakedepends="perl-test-leaktrace"
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/R/RE/REHSACK/$_pkgreal-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgreal-$pkgver"
-_builddir="$srcdir/$_pkgreal-$pkgver"
+check() {
+ cd "$builddir"
+ make test
+}
prepare() {
- cd "$_builddir"
+ cd "$builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
- cd "$_builddir"
+ cd "$builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
- make && make test
+ make
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-md5sums="0c5c4650eb52ed58cac67d81be1004f3 List-MoreUtils-0.416.tar.gz"
-sha256sums="d2ce2f93a4fba8e20a602eba2405d08f5b28c23764a5273fb0abbc413f74c5a5 List-MoreUtils-0.416.tar.gz"
-sha512sums="69b50405dd2442dce1c9505d8a392325a76a748a4612a8b7b53472d4e4a9ed6866593292b3c80c28ba3bc86a04f3b3041f3d3d3f1ec001e8a320f9d4426651aa List-MoreUtils-0.416.tar.gz"
+sha512sums="7ba4395262c4406e822baf40e5a32aa6d93779a56d2567c4920f085ab2580c376db41e2141e4b9b43860d65122ebe73a03dfb0ed76a32f087b05ca7eb90f6d6e List-MoreUtils-0.418.tar.gz"