[arch-commits] Commit in perl-convert-binhex/repos (3 files)
Florian Pritz
bluewind at archlinux.org
Wed Aug 1 09:06:26 UTC 2018
Date: Wednesday, August 1, 2018 @ 09:06:25
Author: bluewind
Revision: 329956
archrelease: copy trunk to staging-any
Added:
perl-convert-binhex/repos/staging-any/
perl-convert-binhex/repos/staging-any/PKGBUILD
(from rev 329955, perl-convert-binhex/trunk/PKGBUILD)
perl-convert-binhex/repos/staging-any/perl-convert-binhex.install
(from rev 329955, perl-convert-binhex/trunk/perl-convert-binhex.install)
-----------------------------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
perl-convert-binhex.install | 8 ++++++++
2 files changed, 40 insertions(+)
Copied: perl-convert-binhex/repos/staging-any/PKGBUILD (from rev 329955, perl-convert-binhex/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD (rev 0)
+++ staging-any/PKGBUILD 2018-08-01 09:06:25 UTC (rev 329956)
@@ -0,0 +1,32 @@
+# $Id$
+# 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=4
+pkgdesc="Perl module to extract data from Macintosh BinHex files"
+arch=('any')
+url="http://search.cpan.org/dist/Convert-BinHex/"
+license=('PerlArtistic')
+depends=('perl')
+options=('!emptydirs')
+install=${pkgname}.install
+source=("http://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 329955, perl-convert-binhex/trunk/perl-convert-binhex.install)
===================================================================
--- staging-any/perl-convert-binhex.install (rev 0)
+++ staging-any/perl-convert-binhex.install 2018-08-01 09:06:25 UTC (rev 329956)
@@ -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