summaryrefslogtreecommitdiff
path: root/community/perl-io-tty
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-06-29 23:10:39 +0000
committerroot <root@rshg047.dnsready.net>2011-06-29 23:10:39 +0000
commit5e8a6a470237711ad18f12dde87deea6f2b8b0e0 (patch)
tree438c05155823f16b71f4277fef949610bf6fe826 /community/perl-io-tty
parent108636e69eaeef67f4e7263c7f26105e25979e89 (diff)
Wed Jun 29 23:10:38 UTC 2011
Diffstat (limited to 'community/perl-io-tty')
-rw-r--r--community/perl-io-tty/PKGBUILD15
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
}