1 # Maintainer: julien <paci79@free.fr>
7 pkgdesc="Practical Extraction and Report Language"
9 license=('GPL' 'PerlArtistic')
10 url="http://www.perl.org"
12 depends=('coreutils' 'glibc')
13 conflicts=('perl' 'perlcpan')
14 source=(http://www.perl.com/CPAN/src/perl-${_pkgverperl}.tar.gz)
16 md5sums=('d2c39b002ebfd2c3c5dba589365c5a71')
19 cd ${startdir}/src/perl-${_pkgverperl}
20 sed -i s/'usr\/local'/'usr'/ uconfig.sh
21 sed -i s/'perl5\/5.9'/'perl5'/ uconfig.sh
22 sed -i s/'unknown'/'i686-pc-linux-gnu'/ uconfig.sh
23 make -f Makefile.micro regen_uconfig || return 1
24 make -f Makefile.micro || return 1
26 install -d $startdir/pkg/usr/bin/
27 install $startdir/src/perl-${_pkgverperl}/microperl $startdir/pkg/usr/bin/perl