updated on Wed Jan 25 08:34:36 UTC 2012
[aur-mirror.git] / perl-io-handle-util / PKGBUILD
blob1e4bca1060f1a1581af142e25751499ec31287ac
1 # CPAN Name  : IO::Handle::Util
2 # Contributor: Anton Leontiev <bunder /at/ t-25.ru>
3 # Generator  : CPANPLUS::Dist::Arch 1.13
5 pkgname=perl-io-handle-util
6 pkgver=0.01
7 pkgrel=1
8 pkgdesc="Perl module with functions for working with IO::Handle like objects"
9 arch=("any")
10 url="http://search.cpan.org/dist/IO-Handle-Util"
11 license=("PerlArtistic" "GPL")
12 depends=("perl" "perl-asa" "perl-io-string" "perl-sub-exporter")
13 checkdepends=("perl-test-use-ok")
14 source=(http://search.cpan.org/CPAN/authors/id/N/NU/NUFFIN/IO-Handle-Util-0.01.tar.gz)
15 options=(!emptydirs)
16 md5sums=("ece953bc43c2e5914f92ec186cba0086")
18 build() {
19   cd "$srcdir/IO-Handle-Util-0.01"
20   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
21   make
24 check() {
25   cd "$srcdir/IO-Handle-Util-0.01"
26   make test
29 package() {
30   cd "$srcdir/IO-Handle-Util-0.01"
31   make install DESTDIR="$pkgdir"
32   find "$pkgdir" -name .packlist -o -name perllocal.pod -delete