diff --git a/dev-perl/uri/uri-1.76.recipe b/dev-perl/uri/uri-5.28.recipe similarity index 73% rename from dev-perl/uri/uri-1.76.recipe rename to dev-perl/uri/uri-5.28.recipe index 31a7901dc..5b0299b4a 100644 --- a/dev-perl/uri/uri-1.76.recipe +++ b/dev-perl/uri/uri-5.28.recipe @@ -10,11 +10,12 @@ Uniform Resource Name (URN). The distinction between URL and URN does not \ matter to the URI class interface. A \"URI-reference\" is a URI that may have \ additional information attached in the form of a fragment identifier." HOMEPAGE="https://github.com/libwww-perl/URI" -COPYRIGHT="1995-2009 Gisle Aas" +COPYRIGHT="1995-2009 Gisle Aas + 1995 Martijn Koster" LICENSE="Artistic" -REVISION="5" +REVISION="1" SOURCE_URI="https://cpan.metacpan.org/authors/id/O/OA/OALDERS/URI-$portVersion.tar.gz" -CHECKSUM_SHA256="b2c98e1d50d6f572483ee538a6f4ccc8d9185f91f0073fd8af7390898254413e" +CHECKSUM_SHA256="e7985da359b15efd00917fa720292b711c396f2f9f9a7349e4e7dec74aa79765" SOURCE_DIR="URI-$portVersion" ARCHITECTURES="any" @@ -43,5 +44,15 @@ BUILD() INSTALL() { - make install DESTDIR="${DESTDIR}" + make pure_install + + # remove architecture-specific files + cd $prefix + rm -r $(perl -V:vendorarch | cut -d\' -f2 | cut -d/ -f5-) + # cut extracts the quoted string and strips the prefix (which is perl's and not ours) +} + +TEST() +{ + make test }