summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/perl_modules/perl-io-stringy/PKGBUILD
blob: 0fdf30061ed411ac68bef3ef0c110c0915c984d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman
# Contributor: François Charette <firmicus ατ gmx δοτ net>

pkgname=perl-io-stringy
pkgver=2.110
pkgrel=6
pkgdesc="I/O on in-core objects like strings/arrays"
arch=('i686' 'x86_64')
url="http://search.cpan.org/~DSKOLL/IO-stringy"
license=('GPL' 'PerlArtistic')
depends=('perl')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/D/DS/DSKOLL/IO-stringy-$pkgver.tar.gz) 
md5sums=('2e6a976cfa5521e815c1fdf4006982de')

build() {
  cd  $startdir/src/IO-stringy-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 
  make || return 1
  make install DESTDIR=$startdir/pkg || return 1
  find $startdir/pkg -name '.packlist' -delete
  find $startdir/pkg -name '*.pod' -delete
}