summaryrefslogblamecommitdiff
path: root/user/perl-text-unidecode/APKBUILD
blob: b0ccc4d909e52af8dc272f13db591750154fb005 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
                                                  
                                                          









                                                 
                                       




















                                                                                                                                                                         
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
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-1.0+"
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"