From c9f84744ce5a5cdb3feffbc00471f77fb273936e Mon Sep 17 00:00:00 2001 From: Timothy Legge Date: Tue, 25 Feb 2020 23:57:27 +0000 Subject: community/perl-uri-fromhash: move from testing --- community/perl-uri-fromhash/APKBUILD | 35 ++++++++++++++++++++++++++++++++++ testing/perl-uri-fromhash/APKBUILD | 37 ------------------------------------ 2 files changed, 35 insertions(+), 37 deletions(-) create mode 100644 community/perl-uri-fromhash/APKBUILD delete mode 100644 testing/perl-uri-fromhash/APKBUILD diff --git a/community/perl-uri-fromhash/APKBUILD b/community/perl-uri-fromhash/APKBUILD new file mode 100644 index 00000000000..f22f38e4fac --- /dev/null +++ b/community/perl-uri-fromhash/APKBUILD @@ -0,0 +1,35 @@ +# Automatically generated by apkbuild-cpan, template 2 +# Contributor: Timothy Legge +# Maintainer: Timothy Legge +pkgname=perl-uri-fromhash +_pkgreal=URI-FromHash +pkgver=0.05 +pkgrel=1 +pkgdesc="Build a URI from a set of named parameters" +url="https://metacpan.org/release/URI-FromHash/" +arch="noarch" +license="Artistic-2.0" +depends="perl-params-validate perl-uri" +checkdepends="perl-test-fatal" +makedepends="perl-dev" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/URI-FromHash-$pkgver.tar.gz" +builddir="$srcdir/$_pkgreal-$pkgver" + +build() { + export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') + PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') + make test +} + +package() { + make DESTDIR="$pkgdir" install + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="6e049a1de34c7ad94305bfb36fe37a723fe3bbd3a6bd773933e4601a75bed7a7677f12b5e8559f6c6ea3fa1fd5c6296b56541be08549277123119e13692926a7 URI-FromHash-0.05.tar.gz" diff --git a/testing/perl-uri-fromhash/APKBUILD b/testing/perl-uri-fromhash/APKBUILD deleted file mode 100644 index 8c690276c1e..00000000000 --- a/testing/perl-uri-fromhash/APKBUILD +++ /dev/null @@ -1,37 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 2 -# Contributor: Timothy Legge -# Maintainer: Timothy Legge -pkgname=perl-uri-fromhash -_pkgreal=URI-FromHash -pkgver=0.05 -pkgrel=1 -pkgdesc="Build a URI from a set of named parameters" -url="https://metacpan.org/release/URI-FromHash/" -arch="noarch" -license="Artistic-2.0" -cpandepends="perl-params-validate perl-uri" -cpancheckdepends="perl-test-fatal" -depends="$cpandepends" -makedepends="perl-dev" -checkdepends="$cpancheckdepends" -subpackages="$pkgname-doc" -source="https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/URI-FromHash-$pkgver.tar.gz" -builddir="$srcdir/$_pkgreal-$pkgver" - -build() { - export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') - PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor - make -} - -check() { - export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') - make test -} - -package() { - make DESTDIR="$pkgdir" install - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -sha512sums="6e049a1de34c7ad94305bfb36fe37a723fe3bbd3a6bd773933e4601a75bed7a7677f12b5e8559f6c6ea3fa1fd5c6296b56541be08549277123119e13692926a7 URI-FromHash-0.05.tar.gz" -- cgit v1.2.3