summaryrefslogtreecommitdiff
path: root/community/perl-io-tty/PKGBUILD
blob: ebb1306e4457613e3f564a0c3d1fc14915b347f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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' 'mips64el')
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
}