Date: Sunday, June 21, 2020 @ 10:20:07 Author: foutrelis Revision: 389622
archrelease: copy trunk to staging-any Added: perl-convert-binhex/repos/staging-any/ perl-convert-binhex/repos/staging-any/PKGBUILD (from rev 389621, perl-convert-binhex/trunk/PKGBUILD) perl-convert-binhex/repos/staging-any/perl-convert-binhex.install (from rev 389621, perl-convert-binhex/trunk/perl-convert-binhex.install) -----------------------------+ PKGBUILD | 31 +++++++++++++++++++++++++++++++ perl-convert-binhex.install | 8 ++++++++ 2 files changed, 39 insertions(+) Copied: perl-convert-binhex/repos/staging-any/PKGBUILD (from rev 389621, perl-convert-binhex/trunk/PKGBUILD) =================================================================== --- staging-any/PKGBUILD (rev 0) +++ staging-any/PKGBUILD 2020-06-21 10:20:07 UTC (rev 389622) @@ -0,0 +1,31 @@ +# Maintainer: Giovanni Scafora <giova...@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=7 +pkgdesc="Perl module to extract data from Macintosh BinHex files" +arch=('any') +url="https://search.cpan.org/dist/Convert-BinHex/" +license=('PerlArtistic') +depends=('perl') +options=('!emptydirs') +install=${pkgname}.install +source=("https://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 +} Copied: perl-convert-binhex/repos/staging-any/perl-convert-binhex.install (from rev 389621, perl-convert-binhex/trunk/perl-convert-binhex.install) =================================================================== --- staging-any/perl-convert-binhex.install (rev 0) +++ staging-any/perl-convert-binhex.install 2020-06-21 10:20:07 UTC (rev 389622) @@ -0,0 +1,8 @@ +post_install() { + echo -n "module test... " + perl -mConvert::BinHex -e "exit 0;" 2> /dev/null && echo 'pass.' || echo 'fail.' +} + +post_upgrade() { + post_install +}