blob: 20d151e0cd35c4ec2f81feffdcc2ee29743ad4a5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# $Id$
# Maintainer: Felix Yan <felixonmars@archlinux.org>
pkgname=perl-encode-locale
pkgver=1.05
pkgrel=3
pkgdesc="Determine the locale encoding"
arch=('any')
url="http://search.cpan.org/dist/Encode-Locale"
license=('PerlArtistic' 'GPL')
depends=('perl')
options=('!emptydirs')
source=(http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Encode-Locale-$pkgver.tar.gz)
sha1sums=('1e1632e869cb76e3fdbda0a83a192190ed178d60')
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
}
|