summaryrefslogtreecommitdiff
path: root/community/perl-io-string/PKGBUILD
blob: 9f922b88295016383d0e5cb31c0b795682d2366e (plain)
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
# $Id: PKGBUILD 65867 2012-02-22 13:10:41Z spupykin $
# 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=8
pkgdesc="IO::File interface for in-core strings"
arch=('i686' 'x86_64')
url="http://search.cpan.org/dist/IO-String"
license=('GPL' 'PerlArtistic')
depends=('perl>=5.10.0')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/G/GA/GAAS/IO-String-$pkgver.tar.gz)
md5sums=('250e5424f290299fc3d6b5d1e9da3835')

build() {
  cd  $srcdir/IO-String-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}