summaryrefslogtreecommitdiff
path: root/p5-uri/Pkgfile
blob: 45ae4ba5481e1f4da61ac515dd150acd06034439 (plain)
    1 # Description: Perl Uniform Resource Identifiers Library.
    2 # URL:         http://search.cpan.org/~gaas/URI-1.35/
    3 # Maintainer: Lucas Hazel, lucas at die dot net dot au
    4 # Packager:    Han Boetes han at mijncomputer dot nl
    5 # Depends on:  perl
    6 
    7 name=p5-uri
    8 version=1.37
    9 release=2
   10 source=(ftp://ftp.demon.co.uk/pub/CPAN/modules/by-module/URI/URI-$version.tar.gz)
   11 
   12 build() {
   13    cd URI-$version
   14 
   15    perl Makefile.PL
   16    make
   17    make install DESTDIR=$PKG
   18    # Remove perlcrap
   19    find $PKG \
   20       -name .packlist -or \
   21       -name '*.bs' -or \
   22       -name autosplit.ix -or \
   23       -name perllocal.pod | xargs rm
   24 
   25    # Remove empty directories
   26    find $PKG -depth -empty -exec rm -rf {} \;
   27 
   28    chown -R root:root $PKG
   29 }

Generated by cgit