aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2021-02-02 00:11:54 -0300
committerLeo <thinkabit.ukim@gmail.com>2021-02-02 03:34:25 +0000
commite7839650d6ef785835fae535b1c20cf5f71545d7 (patch)
tree7842d985426d81ec6c473c775a7d4f316f0ccb61
parent0f54aa23924bc9843a3a75d36b4d289f1aedefec (diff)
downloadaports-e7839650d6ef785835fae535b1c20cf5f71545d7.tar.gz
aports-e7839650d6ef785835fae535b1c20cf5f71545d7.tar.bz2
aports-e7839650d6ef785835fae535b1c20cf5f71545d7.tar.xz
community/perl-tree-simple: upgrade to 1.34
-rw-r--r--community/perl-tree-simple/APKBUILD33
1 files changed, 14 insertions, 19 deletions
diff --git a/community/perl-tree-simple/APKBUILD b/community/perl-tree-simple/APKBUILD
index e04768372f..9dfcd4dfcb 100644
--- a/community/perl-tree-simple/APKBUILD
+++ b/community/perl-tree-simple/APKBUILD
@@ -1,41 +1,36 @@
+# Automatically generated by apkbuild-cpan, template 3
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-tree-simple
+#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=Tree-Simple
-pkgver=1.33
-pkgrel=1
-pkgdesc="Tree::Simple Perl module"
-url="https://metacpan.org/release/Tree-Simple"
+pkgver=1.34
+pkgrel=0
+pkgdesc="A simple tree object"
+url="https://metacpan.org/release/Tree-Simple/"
arch="noarch"
-license="GPL+ or Artistic"
-cpandepends="perl-test-exception"
-depends="perl $cpandepends"
+license="GPL-1.0-or-later OR Artistic-1.0-Perl"
+depends="perl"
makedepends="perl-dev"
+checkdepends="perl-test-exception"
subpackages="$pkgname-doc"
-source="https://cpan.metacpan.org/authors/id/R/RS/RSAVAGE/$_pkgreal-$pkgver.tgz"
-
+source="https://cpan.metacpan.org/authors/id/R/RS/RSAVAGE/Tree-Simple-$pkgver.tgz"
builddir="$srcdir/$_pkgreal-$pkgver"
-prepare() {
- default_prepare
- cd "$builddir"
- 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 -I. Makefile.PL INSTALLDIRS=vendor
make
}
check() {
- cd "$builddir"
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make test
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-sha512sums="bec140fa723a8fadc65d2d8dc88c73295b346bc1583bfb031f2851cf80cddaea9b3e5e38225bbd7ac2e3e29006efb5bbac95b678090ba62714dfd6a306000b25 Tree-Simple-1.33.tgz"
+sha512sums="cd03bdfd283d55a097bceb0c9bf3b81bb4dd5ca9a60de59e3e70b7e88b672456fd18d370f2dee1077a2afeecc973d42e78cc31f8023344b1f7e211432ef4e3ed Tree-Simple-1.34.tgz"