summaryrefslogtreecommitdiff
path: root/pcr/perl-encode-jis2k/PKGBUILD
blob: eccb7806d93c462d8c9f9f6d16713ce7409f5abd (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
31
# Contributor (Arch): Andreas Wagner <Andreas dot Wagner at em dot uni-frankfurt dot de>
# Contributor: Márcio Silva <coadde@hyperbola.info>
# Contributor: André Silva <emulatorman@hyperbola.info>
# Maintainers: Parabola hackers <dev@lists.parabola.nu>

pkgname=perl-encode-jis2k
pkgver=0.03
pkgrel=1
pkgdesc="Encode::JIS2K - JIS X 0212 (aka JIS 2000) Encodings"
arch=('any')
url="http://search.cpan.org/~dankogai/Encode-JIS2K"
license=('GPL1')
depends=('perl')
options=(!emptydirs !zipman)
source=("http://search.cpan.org/CPAN/authors/id/D/DA/DANKOGAI/Encode-JIS2K-$pkgver.tar.gz"
        'fix_enc2xs_path.patch')

build() {
  cd "$srcdir/Encode-JIS2K-$pkgver"
  patch -Np1 -i ../fix_enc2xs_path.patch
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL
  make
}

package() {
  cd "$srcdir/Encode-JIS2K-$pkgver"
  make DESTDIR=$pkgdir install
}

md5sums=('60539471aa408a2b793cd45a6ce651db'
         '47f4abc7d2ffb5699244cc1b7500a682')