aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-io-stringy/APKBUILD
blob: 7ab047b2d02c9858f9cba9f306227ac54ff7d19e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer:  Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=perl-io-stringy
_realname=IO-Stringy
pkgver=2.113
pkgrel=1
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-Perl-1.0 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/$_realname-$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"