summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2019-01-28 20:08:31 (GMT)
committerBritney Fransen <brfransen@gmail.com>2019-01-28 20:08:31 (GMT)
commit5472eedb0b978b77670e08239e3f7eda5b8d4147 (patch)
tree892052cb6a6889f07c53289b4eecf15c6d14b912
parentaa9eeca99a31b2d2d1ac6e620e475d566d8956de (diff)
downloadlinhes_pkgbuild-5472eedb0b978b77670e08239e3f7eda5b8d4147.zip
linhes_pkgbuild-5472eedb0b978b77670e08239e3f7eda5b8d4147.tar.gz
linhes_pkgbuild-5472eedb0b978b77670e08239e3f7eda5b8d4147.tar.bz2
perl-io-string: initial inclusion
-rw-r--r--abs/core/perl_modules/perl-io-string/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
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 <pupykin.s+arch@gmail.com>
+# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman
+# Contributor: François Charette <firmicus ατ gmx δοτ net>
+
+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
+}