diff options
Diffstat (limited to 'community/perl-io-tty/PKGBUILD')
-rw-r--r-- | community/perl-io-tty/PKGBUILD | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/community/perl-io-tty/PKGBUILD b/community/perl-io-tty/PKGBUILD new file mode 100644 index 000000000..565099f95 --- /dev/null +++ b/community/perl-io-tty/PKGBUILD @@ -0,0 +1,21 @@ +# Contributor: Charles Mauch <cmauch@gmail.com> + +pkgname=perl-io-tty +_realname=IO-Tty +pkgver=1.08 +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") +source=("http://www.cpan.org/authors/id/R/RG/RGIERSIG/${_realname}-$pkgver.tar.gz") +md5sums=('e99d819a6f8c11ae105b770cc508a4fc') + +build() { + cd $startdir/src/${_realname}-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make + make install DESTDIR=$startdir/pkg + find $startdir/pkg -name '.packlist' -delete + find $startdir/pkg -name '*.pod' -delete +} |