run=(perl)

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

packager="Great-OS Team"
maintainer="Great-OS Team"

name=perl-uri
version=5.34
release=4

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
}
