blob: 5b1dc26fb3e75e01ddd0fc73975e34be3c3edf56 (
plain) (
tree)
|
|
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-io-stringy
_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"
depends="perl"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$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
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="5af104766c20b4336649dc4a19554ad204506c2476b4bf7d8ad7c2cfab15f0296efadb9019cd57e770a2a3c5f5686f7f010bddbd6efd51d300c54ca36286f094 IO-Stringy-2.113.tar.gz"
|