blob: 9b2311b01132adc6ccc08b9e5d8d592987c4c225 (
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
36
|
# $Id: PKGBUILD 143927 2011-11-30 21:19:35Z giovanni $
# 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.119
pkgrel=4
pkgdesc="Perl module to extract data from Macintosh BinHex files"
arch=('any')
url="http://search.cpan.org/~eryq/Convert-BinHex-1.119/"
license=('PerlArtistic')
depends=('perl')
options=('!emptydirs')
install=${pkgname}.install
source=("http://search.cpan.org/CPAN/authors/id/E/ER/ERYQ/Convert-BinHex-$pkgver.tar.gz")
md5sums=('ba70ad1772abac6270078f28197a7961')
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
# remove perllocal.pod and .packlist
find "${pkgdir}" -name perllocal.pod -delete
find "${pkgdir}" -name .packlist -delete
}
|