From 5e8a6a470237711ad18f12dde87deea6f2b8b0e0 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 29 Jun 2011 23:10:39 +0000 Subject: Wed Jun 29 23:10:38 UTC 2011 --- community/perl-io-tty/PKGBUILD | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'community/perl-io-tty') 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 } -- cgit v1.2.3-54-g00ecf