diff options
author | root <root@rshg054.dnsready.net> | 2012-05-26 00:02:35 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-05-26 00:02:35 +0000 |
commit | a5721a07196cf00c26ea1bfb651aab756d202ccb (patch) | |
tree | b60f984dd22f98544c8d2fd9526cc24dea3dcd25 /community-staging/perl-io-tty/PKGBUILD | |
parent | aa30737839de3c2a4a1287442cb9859414fb4b0a (diff) |
Sat May 26 00:02:35 UTC 2012
Diffstat (limited to 'community-staging/perl-io-tty/PKGBUILD')
-rw-r--r-- | community-staging/perl-io-tty/PKGBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/community-staging/perl-io-tty/PKGBUILD b/community-staging/perl-io-tty/PKGBUILD new file mode 100644 index 000000000..d1b37d6bb --- /dev/null +++ b/community-staging/perl-io-tty/PKGBUILD @@ -0,0 +1,27 @@ +# $Id: PKGBUILD 71152 2012-05-24 15:09:36Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: Charles Mauch <cmauch@gmail.com> + +pkgname=perl-io-tty +pkgver=1.10 +pkgrel=2 +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 +} |