summaryrefslogtreecommitdiff
path: root/user/perl-io-stringy
diff options
context:
space:
mode:
Diffstat (limited to 'user/perl-io-stringy')
-rw-r--r--user/perl-io-stringy/APKBUILD30
1 files changed, 11 insertions, 19 deletions
diff --git a/user/perl-io-stringy/APKBUILD b/user/perl-io-stringy/APKBUILD
index e5a271ac7..5b1dc26fb 100644
--- a/user/perl-io-stringy/APKBUILD
+++ b/user/perl-io-stringy/APKBUILD
@@ -1,41 +1,33 @@
-# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-io-stringy
-_pkgreal=IO-stringy
-pkgver=2.111
+_pkgreal=IO-Stringy
+_author=CAPOEIRAB
+_au=${_author%%"${_author#??}"}
+_a=${_author%%"${_author#?}"}
+pkgver=2.113
pkgrel=0
pkgdesc="I/O on in-core objects like strings and arrays"
url="https://metacpan.org/release/IO-stringy"
arch="noarch"
license="GPL-1.0+ OR Artistic-1.0-Perl"
-cpandepends=""
-cpanmakedepends=""
-depends="$cpandepends"
-makedepends="perl-dev $cpanmakedepends"
+depends="perl"
+makedepends="perl-dev"
subpackages="$pkgname-doc"
-source="https://cpan.metacpan.org/authors/id/D/DS/DSKOLL/$_pkgreal-$pkgver.tar.gz"
+source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_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}'`
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
- cd "$builddir"
make test
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-sha512sums="9da8fb03945bc4a59cea3b3b2e22b15d56b133470e581d1cb03920bda2b4953e3c9e4a25d095ed8a384efb5a4c58db437c92cca6a81d583791191f1a37691a4a IO-stringy-2.111.tar.gz"
+sha512sums="5af104766c20b4336649dc4a19554ad204506c2476b4bf7d8ad7c2cfab15f0296efadb9019cd57e770a2a3c5f5686f7f010bddbd6efd51d300c54ca36286f094 IO-Stringy-2.113.tar.gz"