perl-locale-Gettext: Fix permissions after installing.

This commit is contained in:
Alexpux
2014-02-03 15:11:07 +04:00
parent bbf630d64d
commit 8a3ba586e1

View File

@@ -3,7 +3,7 @@
pkgname=perl-Locale-Gettext
_realname=gettext
pkgver=1.05
pkgrel=1
pkgrel=2
groups=('perl-modules')
pkgdesc="Permits access from Perl to the gettext() family of functions"
arch=('i686' 'x86_64')
@@ -41,6 +41,9 @@ package() {
cd "${srcdir}/${_realname}-${pkgver}"
make install DESTDIR="${pkgdir}"
# fix permissons
find ${pkgdir}/usr -type f \( -name *.dll -o -name *.exe \) | xargs chmod 0755
# remove perllocal.pod and .packlist
find "${pkgdir}" -name perllocal.pod -delete
find "${pkgdir}" -name .packlist -delete