summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--abs/core/perl_modules/perl-io-tee/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/abs/core/perl_modules/perl-io-tee/PKGBUILD b/abs/core/perl_modules/perl-io-tee/PKGBUILD
new file mode 100644
index 0000000..3d2e3d4
--- /dev/null
+++ b/abs/core/perl_modules/perl-io-tee/PKGBUILD
@@ -0,0 +1,26 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Maintainer: Charles Mauch <cmauch@gmail.com>
+
+pkgname=perl-io-tee
+pkgver=0.64
+pkgrel=7
+pkgdesc="Perl/CPAN Module IO::Tee : Multiplex output to multiple handles"
+arch=("any")
+url="http://search.cpan.org/dist/IO-Tee"
+license=("GPL" "PerlArtistic")
+source=("https://www.cpan.org/authors/id/K/KE/KENSHAN/IO-Tee-$pkgver.tar.gz")
+sha256sums=('3ed276b1c2d3511338653c2532e73753d284943c1a8f5159ff37fecc2b345ed6')
+
+build() {
+ cd "$srcdir"/IO-Tee-$pkgver
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+package() {
+ cd "$srcdir"/IO-Tee-$pkgver
+ make install DESTDIR="$pkgdir"
+ find "$pkgdir" -name '.packlist' -delete
+ find "$pkgdir" -name '*.pod' -delete
+}