diff options
Diffstat (limited to 'extra/perl-term-readkey/PKGBUILD')
-rw-r--r-- | extra/perl-term-readkey/PKGBUILD | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/extra/perl-term-readkey/PKGBUILD b/extra/perl-term-readkey/PKGBUILD index 2a78e3c89..8c73caf7a 100644 --- a/extra/perl-term-readkey/PKGBUILD +++ b/extra/perl-term-readkey/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 157151 2012-04-25 02:51:00Z eric $ +# $Id: PKGBUILD 160555 2012-06-02 10:28:20Z bluewind $ # Maintainer: kevin <kevin@archlinux.org> # Contributor: Wael Nasreddine <gandalf@siemens-mobiles.org> # Contributor: Francois Charette <francois.archlinux.org> @@ -6,11 +6,11 @@ pkgname=perl-term-readkey _realname=TermReadKey pkgver=2.30.02 -pkgrel=1 +pkgrel=2 pkgdesc="Provides simple control over terminal driver modes" arch=('i686' 'x86_64') license=('custom') -depends=('perl>=5.10.0' 'glibc') +depends=('perl' 'glibc') url="http://search.cpan.org/~stsi/${_realname}/" options=('!emptydirs') source=(http://search.cpan.org/CPAN/authors/id/S/ST/STSI/${_realname}-$pkgver.tar.gz) @@ -30,10 +30,7 @@ check() { package() { cd "${srcdir}/TermReadKey-$pkgver" make DESTDIR="${pkgdir}" install + chmod 755 "${pkgdir}/usr/lib/perl5/vendor_perl/auto/Term/ReadKey/ReadKey.so" install -d "${pkgdir}/usr/share/licenses/$pkgname/" head -7 README > "${pkgdir}/usr/share/licenses/$pkgname/LICENSE" - - # remove perllocal.pod and .packlist - find "${pkgdir}" -name perllocal.pod -delete - find "${pkgdir}" -name .packlist -delete } |