You are not logged in.
Pages: 1
Could someone help me make a PKGBUILD for this? The url is:
http://pdl.perl.org/
Thanks in advance
What i have so far:
# This PKGBUILD was autocreated. See http://xtermin.us/archperl/ for details
pkgname=perl-pdl
pkgver=2.4.3
pkgrel=1
pkgdesc="Perl Data Language"
arch=("i686" "x86_64")
url="http://pdl.perl.org/"
license=("GPL" "Artistic")
source=("http://search.cpan.org/CPAN/authors/id/C/CS/CSOE/PDL-2.4.3.tar.gz")
build() {
cd $startdir/src/PDL-2.4.3
eval `perl -V:archname`
/usr/bin/perl Makefile.PL \
INSTALLARCHLIB=/usr/lib/perl5/current/${archname} \
INSTALLSITELIB=/usr/lib/perl5/site_perl/current \
INSTALLSITEARCH=/usr/lib/perl5/site_perl/current/${archname} || return 1
make || return 1
make DESTDIR=$startdir/pkg install || return 1
/usr/bin/find $startdir/pkg -name '.packlist' -exec rm '{}' \; && \
/usr/bin/find $startdir/pkg -name 'perllocal.pod' -exec rm '{}' \; && \
/usr/bin/find $startdir/pkg -depth -type d -empty -exec rmdir '{}' \;
}
Offline
Pages: 1