updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / microperl / PKGBUILD
blob1d31fd2c619038445b0c4b17b8e5356e9eb24872
1 # Maintainer: julien <paci79@free.fr>
3 pkgname=microperl
4 pkgver=5.10.0
5 _pkgverperl=5.10.0
6 pkgrel=1
7 pkgdesc="Practical Extraction and Report Language"
8 arch=(i686 x86_64)
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')
17          
18 build() {
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
25         strip microperl
26         install -d $startdir/pkg/usr/bin/
27         install $startdir/src/perl-${_pkgverperl}/microperl $startdir/pkg/usr/bin/perl