# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
setvar pkgname = 'perl-uri-escape'
setvar pkgver = '1.69'
setvar _realname = "URI-$pkgver"
setvar pkgrel = '0'
setvar pkgdesc = ""Percent-encode and percent-decode unsafe characters""
setvar url = ""http://search.cpan.org/dist/URI/""
setvar arch = ""noarch""
setvar license = ""GPL PerlArtistic""
setvar cpandepends = """"
setvar cpanmakedepends = """"
setvar depends = "$cpandepends"
setvar makedepends = ""perl-dev $cpanmakedepends""
setvar subpackages = ""$pkgname-doc""
setvar source = ""http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/$_realname.tar.gz""

setvar _builddir = ""$srcdir"/$_realname"

proc build {
	cd $_builddir'
	PERL_MM_USE_DEFAULT=1' perl Makefile.PL INSTALLDIRS=vendor || return 1
	make || return 1
}

proc package {
	cd $_builddir
	make DESTDIR="$pkgdir" install || return 1
	find $pkgdir '(' -name perllocal.pod -o -name .packlist ')' -delete
}

setvar md5sums = ""3c56aee0300bce5a440ccbd558277ea0  URI-1.69.tar.gz""
setvar sha256sums = ""b74b16ea626b6f8061821bb350674c638a98be1fc766eadb24fec6635998b42d  URI-1.69.tar.gz""
setvar sha512sums = ""4e58cd450c58be4c3e0254c8e53bd0b4d3516468efb466c933343efc12191856bfc6c0d5c3de3b523e66d4930c2426f0089d5cd9ece7b4a5b8aff0a9596064cc  URI-1.69.tar.gz""