aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-convert-binhex/APKBUILD
blob: a768312e5c17420de5d53553046273fd9d32b4e3 (plain) (blame)
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
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer:  Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=perl-convert-binhex
_realname=Convert-BinHex
pkgver=1.125
pkgrel=1
pkgdesc="Extract data from Macintosh BinHex files"
url="http://search.cpan.org/dist/Convert-BinHex/"
arch="noarch"
license="Artistic-1.0 GPL+"
depends="perl"
makedepends="perl-dev"
install=
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/S/ST/STEPHEN/Convert-BinHex-$pkgver.tar.gz"

build() {
	cd "$srcdir/$_realname-$pkgver"

	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
	make || return 1
}

package() {
	cd "$srcdir/$_realname-$pkgver"
	make DESTDIR="$pkgdir" install
	# creates file collision among perl modules
	find "$pkgdir" -name perllocal.pod -delete
}

md5sums="2f485e1283387ead5b92243e1aacff9d  Convert-BinHex-1.125.tar.gz"
sha256sums="513591b4be46bd7eb91e83197721b4a045a9753a3dd2f11de82c9d3013226397  Convert-BinHex-1.125.tar.gz"
sha512sums="c088feb0d9dd2c56d79e4fe21494e5957f763bfb4afbd0335ba099f4babbc7790951897730faf097d61ebca4a262f6676a9532d8861c2deca5a6d61ffdd6f115  Convert-BinHex-1.125.tar.gz"