[arch-commits] Commit in po4a/trunk (PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Fri Jun 2 05:01:19 UTC 2017
Date: Friday, June 2, 2017 @ 05:01:18
Author: foutrelis
Revision: 232792
Fix build with Perl 5.26
Modified:
po4a/trunk/PKGBUILD
----------+
PKGBUILD | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-06-02 04:55:00 UTC (rev 232791)
+++ PKGBUILD 2017-06-02 05:01:18 UTC (rev 232792)
@@ -14,7 +14,7 @@
license=('GPL')
url="http://po4a.alioth.debian.org/"
depends=('perl' 'gettext')
-makedepends=('docbook-xsl' 'perl-text-wrapi18n' 'perl-locale-gettext'
+makedepends=('docbook-xsl' 'perl-text-wrapi18n' 'perl-locale-gettext'
'perl-term-readkey' 'perl-sgmls' 'perl-module-build')
options=('!emptydirs')
source=(https://alioth.debian.org/frs/download.php/file/${_dlid}/${pkgname}-${pkgver}.tar.gz)
@@ -22,16 +22,17 @@
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- perl Build.PL installdirs=vendor create_packlist=0
+ PERL_USE_UNSAFE_INC=1 \
+ perl Build.PL installdirs=vendor create_packlist=0
# The script expects a UTF-8 locale
- LC_ALL=en_US.UTF-8 perl Build
+ LC_ALL=en_US.UTF-8 perl Build
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- perl Build destdir=${pkgdir} install
- # remove perllocal.pod and .packlist
- find ${pkgdir} -name .packlist -o -name perllocal.pod -delete
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ perl Build destdir=${pkgdir} install
+ # remove perllocal.pod and .packlist
+ find ${pkgdir} -name .packlist -o -name perllocal.pod -delete
}
# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list