summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules/perl-io-stringy/PKGBUILD
blob: a39789ef57c0a5740d7b980e0597628b2f404784 (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
26
27
28
29
30
31
32
33
34
# $Id: PKGBUILD 143932 2011-11-30 21:29:16Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: François Charette <firmicus ατ gmx δοτ net>

pkgname=perl-io-stringy
pkgver=2.110
pkgrel=9
pkgdesc="I/O on in-core objects like strings/arrays"
arch=('any')
url="http://search.cpan.org/dist/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  "${srcdir}/IO-stringy-${pkgver}"
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
}

check() {
  cd  "${srcdir}/IO-stringy-${pkgver}"
  make test
}

package() {
  cd  "${srcdir}/IO-stringy-${pkgver}"
  make install DESTDIR="${pkgdir}"

  find ${pkgdir} -name '.packlist' -delete
  find ${pkgdir} -name '*.pod' -delete
}