# Contributor: Leonardo Arena # Maintainer: Leonardo Arena pkgname=perl-convert-binhex _realname=Convert-BinHex pkgver=1.125 pkgrel=6 pkgdesc="Extract data from Macintosh BinHex files" url="https://metacpan.org/release/Convert-BinHex/" arch="noarch" license="Artistic-1.0 GPL+" depends="perl" checkdepends="perl-file-slurp perl-test-most" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/S/ST/STEPHEN/Convert-BinHex-$pkgver.tar.gz" options="!check" # checkdepends in community/ build() { cd "$srcdir/$_realname-$pkgver" PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make } check() { make test } package() { cd "$srcdir/$_realname-$pkgver" make DESTDIR="$pkgdir" install # creates file collision among perl modules find "$pkgdir" -name perllocal.pod -delete } sha512sums=" c088feb0d9dd2c56d79e4fe21494e5957f763bfb4afbd0335ba099f4babbc7790951897730faf097d61ebca4a262f6676a9532d8861c2deca5a6d61ffdd6f115 Convert-BinHex-1.125.tar.gz "