mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-05-02 17:48:27 +02:00
32 lines
928 B
Text
32 lines
928 B
Text
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
|
|
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
|
|
pkgname=perl-io-stringy
|
|
_pkgreal=IO-Stringy
|
|
pkgver=2.113
|
|
pkgrel=3
|
|
pkgdesc="A Perl module for I/O on in-core objects like strings and arrays"
|
|
url="https://metacpan.org/pod/IO::Stringy"
|
|
arch="noarch"
|
|
license="Artistic-1.0-Perl OR GPL-1.0-or-later"
|
|
depends="perl"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/C/CA/CAPOEIRAB/IO-Stringy-$pkgver.tar.gz"
|
|
|
|
builddir="$srcdir/$_pkgreal-$pkgver"
|
|
|
|
build() {
|
|
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make test
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
# creates file collision among perl modules
|
|
find "$pkgdir" -name perllocal.pod -delete
|
|
}
|
|
|
|
sha512sums="5af104766c20b4336649dc4a19554ad204506c2476b4bf7d8ad7c2cfab15f0296efadb9019cd57e770a2a3c5f5686f7f010bddbd6efd51d300c54ca36286f094 IO-Stringy-2.113.tar.gz"
|