archrelease: copy trunk to extra-x86_64
[arch-packages.git] / perl-encode-locale / repos / extra-any / PKGBUILD
blob9a7a8648e02879f6448e5f07a3c5d28572d34533
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=perl-encode-locale
4 pkgver=1.05
5 pkgrel=8
6 pkgdesc="Determine the locale encoding"
7 arch=('any')
8 url="https://search.cpan.org/dist/Encode-Locale"
9 license=('PerlArtistic' 'GPL')
10 depends=('perl')
11 options=('!emptydirs')
12 source=(https://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Encode-Locale-$pkgver.tar.gz)
13 sha1sums=('1e1632e869cb76e3fdbda0a83a192190ed178d60')
15 build() {
16   cd Encode-Locale-$pkgver
17   perl Makefile.PL INSTALLDIRS=vendor
18   make
21 check() {
22   cd Encode-Locale-$pkgver
23   make test
26 package() {
27   cd Encode-Locale-$pkgver
28   make DESTDIR="$pkgdir" install