1 # Contributor: Guilherme M. Nogueira <guilherme@nirev.org>
5 pkgdesc="provides a straightforward way to get the size of the terminal, or window, on which a script is running"
7 url="http://search.cpan.org/dist/Term-Size/"
8 license=('GPL' 'PerlArtistic')
10 options=('!emptydirs')
11 source=(http://www.cpan.org/authors/id/T/TI/TIMPX/Term-Size-$pkgver.tar.gz)
12 md5sums=('982b5df8351e7654a42b7bffc0bf1d57')
15 cd $startdir/src/Term-Size-$pkgver
16 # Install into vendor directory
17 perl Makefile.PL INSTALLDIRS=vendor || return 1
19 make DESTDIR=$startdir/pkg install || return 1
20 # Remove .packlist and perllocal.pod files
21 find $startdir/pkg -name '.packlist' -delete
22 find $startdir/pkg -name '*.pod' -delete