[arch-commits] Commit in perl-convert-binhex/repos (3 files)
Evangelos Foutras
foutrelis at archlinux.org
Sat May 25 08:56:16 UTC 2019
Date: Saturday, May 25, 2019 @ 08:56:16
Author: foutrelis
Revision: 353983
archrelease: copy trunk to staging-any
Added:
perl-convert-binhex/repos/staging-any/
perl-convert-binhex/repos/staging-any/PKGBUILD
(from rev 353982, perl-convert-binhex/trunk/PKGBUILD)
perl-convert-binhex/repos/staging-any/perl-convert-binhex.install
(from rev 353982, 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 353982, perl-convert-binhex/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD (rev 0)
+++ staging-any/PKGBUILD 2019-05-25 08:56:16 UTC (rev 353983)
@@ -0,0 +1,31 @@
+# Maintainer: Giovanni Scafora <giovanni at 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=5
+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 353982, perl-convert-binhex/trunk/perl-convert-binhex.install)
===================================================================
--- staging-any/perl-convert-binhex.install (rev 0)
+++ staging-any/perl-convert-binhex.install 2019-05-25 08:56:16 UTC (rev 353983)
@@ -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
+}
More information about the arch-commits
mailing list