From 5fdd96009fc976c1eca2e2349a06259c7bcc2402 Mon Sep 17 00:00:00 2001 From: Timothy Legge Date: Tue, 25 Feb 2020 23:54:32 +0000 Subject: community/perl-text-unidecode: move from testing --- community/perl-text-unidecode/APKBUILD | 33 +++++++++++++++++++++++++++++++++ testing/perl-text-unidecode/APKBUILD | 33 --------------------------------- 2 files changed, 33 insertions(+), 33 deletions(-) create mode 100644 community/perl-text-unidecode/APKBUILD delete mode 100644 testing/perl-text-unidecode/APKBUILD diff --git a/community/perl-text-unidecode/APKBUILD b/community/perl-text-unidecode/APKBUILD new file mode 100644 index 0000000000..cf163f6c5f --- /dev/null +++ b/community/perl-text-unidecode/APKBUILD @@ -0,0 +1,33 @@ +# Automatically generated by apkbuild-cpan, template 2 +# Contributor: Timothy Legge +# Maintainer: Timothy Legge +pkgname=perl-text-unidecode +_pkgreal=Text-Unidecode +pkgver=1.30 +pkgrel=0 +pkgdesc="Provide plain ASCII transliterations of Unicode text" +url="https://metacpan.org/release/Text-Unidecode/" +arch="noarch" +license="GPL-1.0-or-later OR Artistic-1.0-Perl" +makedepends="perl-dev" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/S/SB/SBURKE/Text-Unidecode-$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="194f8aba0dcdc7a53338b86370b7cfb6c60d4a8982ada6084f0eb0ccd66ce461b831b6daf04932f039ff1b983dc3cd0c0ced1e8b455955d2699c36120b41a526 Text-Unidecode-1.30.tar.gz" diff --git a/testing/perl-text-unidecode/APKBUILD b/testing/perl-text-unidecode/APKBUILD deleted file mode 100644 index cf163f6c5f..0000000000 --- a/testing/perl-text-unidecode/APKBUILD +++ /dev/null @@ -1,33 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 2 -# Contributor: Timothy Legge -# Maintainer: Timothy Legge -pkgname=perl-text-unidecode -_pkgreal=Text-Unidecode -pkgver=1.30 -pkgrel=0 -pkgdesc="Provide plain ASCII transliterations of Unicode text" -url="https://metacpan.org/release/Text-Unidecode/" -arch="noarch" -license="GPL-1.0-or-later OR Artistic-1.0-Perl" -makedepends="perl-dev" -subpackages="$pkgname-doc" -source="https://cpan.metacpan.org/authors/id/S/SB/SBURKE/Text-Unidecode-$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="194f8aba0dcdc7a53338b86370b7cfb6c60d4a8982ada6084f0eb0ccd66ce461b831b6daf04932f039ff1b983dc3cd0c0ced1e8b455955d2699c36120b41a526 Text-Unidecode-1.30.tar.gz" -- cgit v1.2.3