summaryrefslogblamecommitdiff
path: root/system/perl-encode-locale/APKBUILD
blob: 9830bc0791c20e703f429b5aa6fb2cfeba0a8c19 (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                                                                   



                               


                                                 
                                                


                                        
              
                          

                                                                                        

         




                                                                 



                 
                                      



                                                                                                                                                                        
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-encode-locale
_pkgreal=Encode-Locale
_author=GAAS
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=1.05
pkgrel=2
pkgdesc="Perl module - Determine locale encoding"
url="https://metacpan.org/release/Encode-Locale"
arch="noarch"
license="GPL-2.0-only Artistic-1.0-Perl"
depends="perl"
makedepends=""
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 -delete
}

sha512sums="68ed5732fd3645eca2ea54080067677a48f90fc5a594a1b453a322f3127e67a984d539cb5fd41ac63a03b9dab693c070b65e3c70a2a677dc61b4634f3e212d06  Encode-Locale-1.05.tar.gz"