summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules/perl-convert-binhex/PKGBUILD
blob: e073c57d6b952e51ad73a0fc44f9140c7f60f9fb (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
# $Id$
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Techlive Zheng <techlivezheng [at] gmail [dot] com>
# Contributor: Jakub FiĊĦer <mr [at] MikyMaus [dot] org>
# Contributor: Filip S. Adamsen <fsa [at] fsadev [dot] com>

pkgname=perl-convert-binhex
pkgver=1.125
pkgrel=3
pkgdesc="Perl module to extract data from Macintosh BinHex files"
arch=('any')
url="http://search.cpan.org/dist/Convert-BinHex/"
license=('PerlArtistic')
depends=('perl')
options=('!emptydirs')
install=${pkgname}.install
source=("http://search.cpan.org/CPAN/authors/id/S/ST/STEPHEN/Convert-BinHex-$pkgver.tar.gz")
md5sums=('2f485e1283387ead5b92243e1aacff9d')

build() {
  cd "${srcdir}/Convert-BinHex-${pkgver}"

  # install module in vendor directories.
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
}

package() {
  cd "${srcdir}/Convert-BinHex-${pkgver}"

  make DESTDIR="${pkgdir}/" install
}