From 5472eedb0b978b77670e08239e3f7eda5b8d4147 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Mon, 28 Jan 2019 20:08:31 +0000 Subject: perl-io-string: initial inclusion --- abs/core/perl_modules/perl-io-string/PKGBUILD | 28 +++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 abs/core/perl_modules/perl-io-string/PKGBUILD diff --git a/abs/core/perl_modules/perl-io-string/PKGBUILD b/abs/core/perl_modules/perl-io-string/PKGBUILD new file mode 100644 index 0000000..df44d3c --- /dev/null +++ b/abs/core/perl_modules/perl-io-string/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Sergej Pupykin +# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman +# Contributor: François Charette + +pkgname=perl-io-string +pkgver=1.08 +pkgrel=11 +pkgdesc="IO::File interface for in-core strings" +arch=('x86_64') +url="http://search.cpan.org/dist/IO-String" +license=('GPL' 'PerlArtistic') +depends=('perl>=5.10.0') +options=('!emptydirs') +source=(https://www.cpan.org/authors/id/G/GA/GAAS/IO-String-$pkgver.tar.gz) +sha256sums=('2a3f4ad8442d9070780e58ef43722d19d1ee21a803bf7c8206877a10482de5a0') + +build() { + cd "$srcdir"/IO-String-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + cd "$srcdir"/IO-String-$pkgver + make install DESTDIR="$pkgdir" + find "$pkgdir" -name '.packlist' -delete + find "$pkgdir" -name '*.pod' -delete +} -- cgit v0.12