summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-04-17 01:42:58 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-04-17 01:44:36 -0300
commitb92f1ce44aea1a78c783e2554c38c51bcd20968a (patch)
tree429dfb9b7118aa3a5dc44badde25911d69310276
parenta010f51aa6f94eb255e3c500f3d719bdbcf85429 (diff)
downloadaports-b92f1ce44aea1a78c783e2554c38c51bcd20968a.zip
main/perl-struct-dumb: upgrade to 0.10
-rw-r--r--main/perl-struct-dumb/APKBUILD21
1 files changed, 9 insertions, 12 deletions
diff --git a/main/perl-struct-dumb/APKBUILD b/main/perl-struct-dumb/APKBUILD
index 2b4ba956ff4..571f0d9e389 100644
--- a/main/perl-struct-dumb/APKBUILD
+++ b/main/perl-struct-dumb/APKBUILD
@@ -3,14 +3,15 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-struct-dumb
_pkgreal=Struct-Dumb
-pkgver=0.09
-pkgrel=1
+pkgver=0.10
+pkgrel=0
pkgdesc="Make simple lightweight record-like structures"
+options="!check" # Requires 'perl-data-dump' which is in community
url="https://metacpan.org/release/Struct-Dumb/"
arch="noarch"
-license="GPL PerlArtistic"
-cpanmakedepends="perl-test-fatal"
-makedepends="perl-dev $cpanmakedepends perl-module-build"
+license="GPL-1.0-or-later OR Artistic-1.0-Perl"
+makedepends="perl-dev perl-module-build"
+checkdepends="perl-data-dump perl-test-fatal"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/P/PE/PEVANS/$_pkgreal-$pkgver.tar.gz"
@@ -19,26 +20,22 @@ builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
default_prepare
- cd "$builddir"
- export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
perl Build.PL installdirs=vendor
}
build() {
- cd "$builddir"
- export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
./Build
}
check() {
- cd "$builddir"
./Build test
}
package() {
- cd "$builddir"
./Build install destdir="$pkgdir"
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-sha512sums="6dc1e6ce02386906f5e440d989a5cd1810201327567684d26d877a212e0b97d64b2cfdb0432ac5d8ab94bcecfb61c4b59fd8aa3ae22adc06de3c8083f667c134 Struct-Dumb-0.09.tar.gz"
+sha512sums="c75052238c4189c7424f7842791baf4e1ec08bf5b044c5f27f3158910fbfecc95ed12d792ef29b981da932c49c08944c4a9d0c24673a7995849c7d7fd42e12f2 Struct-Dumb-0.10.tar.gz"