summaryrefslogtreecommitdiffstats
path: root/main/perl-convert-binhex/APKBUILD
blob: dad1d96b43c6de97475c82fe7f3f6bb8dbcbe03a (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
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer:  Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=perl-convert-binhex
_realname=Convert-BinHex
pkgver=1.123
pkgrel=0
pkgdesc="Extract data from Macintosh BinHex files"
url="http://search.cpan.org/dist/Convert-BinHex/"
arch="noarch"
license="Unknown"
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="6957dee877c64918066ae27ca6069bfe  Convert-BinHex-1.123.tar.gz"
sha256sums="bd2028056297087a94d14d5390878f9aa69b0a6d186fe23f0925271e5bcfc440  Convert-BinHex-1.123.tar.gz"
sha512sums="dc856ce8db67217e6e60daa59de2255348d0e5f9fc2d40e71a5f8fa36619a22e7deb9517b8fe7621d7f608f33ec12cd78bfd7ab65bd65e371ee720170c29129f  Convert-BinHex-1.123.tar.gz"