diff options
author | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
commit | 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch) | |
tree | 03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/perl-io-tty/PKGBUILD | |
parent | e445a313723389ba9ee1fded025c567dae5b21ea (diff) |
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/perl-io-tty/PKGBUILD')
-rw-r--r-- | community/perl-io-tty/PKGBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/community/perl-io-tty/PKGBUILD b/community/perl-io-tty/PKGBUILD new file mode 100644 index 000000000..54100cf32 --- /dev/null +++ b/community/perl-io-tty/PKGBUILD @@ -0,0 +1,27 @@ +# $Id: PKGBUILD 91682 2013-05-26 09:25:34Z bluewind $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: Charles Mauch <cmauch@gmail.com> + +pkgname=perl-io-tty +pkgver=1.10 +pkgrel=3 +pkgdesc="Provide an interface to TTYs and PTYs" +arch=('i686' 'x86_64') +url="http://search.cpan.org/dist/IO-Tty/" +license=("GPL" "PerlArtistic") +depends=('glibc') +options=('!emptydirs') +source=("http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/IO-Tty-$pkgver.tar.gz") +md5sums=('46baec86a145e57f0ec661fa412b097c') + +build() { + cd $srcdir/IO-Tty-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} +package(){ + cd $srcdir/IO-Tty-$pkgver + make install DESTDIR=$pkgdir + find $pkgdir -name '.packlist' -delete + find $pkgdir -name '*.pod' -delete +} |