# Maintainer: Sergej Pupykin # Contributor: Charles Mauch pkgname=perl-io-tty pkgver=1.17 pkgrel=1 pkgdesc="Provide an interface to TTYs and PTYs" arch=('x86_64') url="https://search.cpan.org/dist/IO-Tty/" license=("GPL" "PerlArtistic") depends=('glibc') options=('!emptydirs') source=("https://search.cpan.org/CPAN/authors/id/T/TO/TODDR/IO-Tty-$pkgver.tar.gz") sha256sums=('a5f1a83020bc5b5dd6c1b570f48c7546e0a8f7fac10a068740b03925ad9e14e8') 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 }