diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-07-08 19:02:43 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-07-08 19:02:47 +0000 |
commit | 144ec2ec740ad45b1849e17b8bccb6fb68e1f5dd (patch) | |
tree | d4600d8262f8f5eea9f3116c17acd70fc04be425 | |
parent | cf3bc33bdcd78aa84ac92e496d346e5231e4bcee (diff) | |
download | packages-144ec2ec740ad45b1849e17b8bccb6fb68e1f5dd.tar.gz packages-144ec2ec740ad45b1849e17b8bccb6fb68e1f5dd.tar.bz2 packages-144ec2ec740ad45b1849e17b8bccb6fb68e1f5dd.tar.xz packages-144ec2ec740ad45b1849e17b8bccb6fb68e1f5dd.zip |
user/perl-text-unidecode: New package
-rw-r--r-- | user/perl-text-unidecode/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-text-unidecode/APKBUILD b/user/perl-text-unidecode/APKBUILD new file mode 100644 index 000000000..e96572aa2 --- /dev/null +++ b/user/perl-text-unidecode/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-text-unidecode +_pkgreal=Text-Unidecode +_author=SBURKE +_au=${_author%%"${_author#??}"} +_a=${_author%%"${_author#?}"} +pkgver=1.30 +pkgrel=0 +pkgdesc="Transliterate Unicode text to ASCII" +url="https://metacpan.org/release/Text-Unidecode" +arch="noarch" +license="Artistic-1.0-Perl OR GPL-2.0-only" +depends="perl" +makedepends="perl-dev" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz" +builddir="$srcdir/$_pkgreal-$pkgver" + +build() { + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + make test +} + +package() { + make DESTDIR="$pkgdir" install + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="194f8aba0dcdc7a53338b86370b7cfb6c60d4a8982ada6084f0eb0ccd66ce461b831b6daf04932f039ff1b983dc3cd0c0ced1e8b455955d2699c36120b41a526 Text-Unidecode-1.30.tar.gz" |