31 lines
714 B
Bash
31 lines
714 B
Bash
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
|
|
# Maintainer: Felix Yan <felixonmars@archlinux.org>
|
|
|
|
pkgname=perl-encode-locale
|
|
pkgver=1.05
|
|
pkgrel=13
|
|
pkgdesc="Determine the locale encoding"
|
|
arch=(any)
|
|
url="https://search.cpan.org/dist/Encode-Locale"
|
|
license=('PerlArtistic' 'GPL')
|
|
depends=('perl')
|
|
options=('!emptydirs')
|
|
source=(https://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Encode-Locale-$pkgver.tar.gz)
|
|
sha256sums=('176fa02771f542a4efb1dbc2a4c928e8f4391bf4078473bd6040d8f11adb0ec1')
|
|
|
|
build() {
|
|
cd Encode-Locale-$pkgver
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd Encode-Locale-$pkgver
|
|
make test
|
|
}
|
|
|
|
package() {
|
|
cd Encode-Locale-$pkgver
|
|
make DESTDIR="$pkgdir" install
|
|
}
|