diff options
Diffstat (limited to 'community/perl-io-tty/PKGBUILD')
-rw-r--r-- | community/perl-io-tty/PKGBUILD | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/community/perl-io-tty/PKGBUILD b/community/perl-io-tty/PKGBUILD index 565099f95..7fe7b0b0d 100644 --- a/community/perl-io-tty/PKGBUILD +++ b/community/perl-io-tty/PKGBUILD @@ -3,19 +3,24 @@ pkgname=perl-io-tty _realname=IO-Tty pkgver=1.08 -pkgrel=3 +pkgrel=4 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') source=("http://www.cpan.org/authors/id/R/RG/RGIERSIG/${_realname}-$pkgver.tar.gz") md5sums=('e99d819a6f8c11ae105b770cc508a4fc') +options=('!emptydirs') build() { - cd $startdir/src/${_realname}-$pkgver + cd $srcdir/${_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 +} +package(){ + cd $srcdir/${_realname}-$pkgver + make install DESTDIR=$pkgdir + find $pkgdir -name '.packlist' -delete + find $pkgdir -name '*.pod' -delete } |