summaryrefslogtreecommitdiff
path: root/pcr/perl-unicode-map/PKGBUILD
blob: 40aa9edcdcb4f012091bf185860f521ffa154a28 (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
32
33
34
35
# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman
# Contributor (Arch): Ross melin <rdmelin@gmail.com>
# Contributor: Márcio Silva <coadde@parabola.nu>

# Required by zoneminder

pkgname=perl-unicode-map
pkgver=0.112
pkgrel=3
pkgdesc="Unicode::Map"
arch=('i686' 'x86_64' 'mips64el')
url="http://search.cpan.org/~MSCHWARTZ/Unicode-Map"
license=('GPL1')
depends=('perl')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/M/MS/MSCHWARTZ/Unicode-Map-$pkgver.tar.gz) 
md5sums=('edaa8fc5ddf0e5d805e274283dd0625d')

build() {
  cd  $srcdir/Unicode-Map-$pkgver
  eval `perl -V:archname`
  PERL_MM_USE_DEFAULT=1 /usr/bin/perl Makefile.PL \
      INSTALLDIRS=vendor || return 1
  
  /usr/bin/make || return 1
}

package() {
  cd  $srcdir/Unicode-Map-$pkgver
  /usr/bin/make DESTDIR=$pkgdir install || return 1
  /usr/bin/find $pkgdir -name '.packlist' -delete
  /usr/bin/find $pkgdir -name '*.pod' -delete
}

# vim:set ts=2 sw=2 et: