run=(perl)

description="Uniform Resource Identifiers Perl (absolute and relative)"
url="http://search.cpan.org/dist/URI/"

packager="Grat-OS Team"

name=perl-uri
version=5.21
release=2

source=(https://cpan.metacpan.org/authors/id/O/OA/OALDERS/URI-$version.tar.gz)

build() {
  cd URI-$version

  perl Makefile.PL

  make
  make DESTDIR=$PKG install

  find $PKG \
           -name '*.bs' -or \
           -name '.packlist' -or \
           -name 'perllocal.pod' | xargs rm
}
