diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-22 16:47:24 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-22 16:47:24 +0000 |
commit | 7233dba9d7f1628a345814277a12e09946f0432d (patch) | |
tree | f329e5a024d57ccf69b46ac502c4b68b81fd1e28 /unmaintained | |
parent | 9711df7ac68dd05da608e7491ea646a0dcbd157e (diff) | |
download | aports-7233dba9d7f1628a345814277a12e09946f0432d.tar.bz2 aports-7233dba9d7f1628a345814277a12e09946f0432d.tar.xz |
community/perl-uri-escape: dup of perl-uri
Diffstat (limited to 'unmaintained')
-rw-r--r-- | unmaintained/perl-uri-escape/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/unmaintained/perl-uri-escape/APKBUILD b/unmaintained/perl-uri-escape/APKBUILD new file mode 100644 index 0000000000..c55aae18e3 --- /dev/null +++ b/unmaintained/perl-uri-escape/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Stuart Cardall <developer@it-offshore.co.uk> +# Maintainer: Stuart Cardall <developer@it-offshore.co.uk> +pkgname=perl-uri-escape +pkgver=1.69 +_realname=URI-$pkgver +pkgrel=0 +pkgdesc="Percent-encode and percent-decode unsafe characters" +url="http://search.cpan.org/dist/URI/" +arch="noarch" +license="GPL PerlArtistic" +cpandepends="" +cpanmakedepends="" +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/$_realname.tar.gz" + +_builddir="$srcdir"/$_realname + +build() { + cd "$_builddir" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +md5sums="3c56aee0300bce5a440ccbd558277ea0 URI-1.69.tar.gz" +sha256sums="b74b16ea626b6f8061821bb350674c638a98be1fc766eadb24fec6635998b42d URI-1.69.tar.gz" +sha512sums="4e58cd450c58be4c3e0254c8e53bd0b4d3516468efb466c933343efc12191856bfc6c0d5c3de3b523e66d4930c2426f0089d5cd9ece7b4a5b8aff0a9596064cc URI-1.69.tar.gz" |