[arch-commits] Commit in (5 files)

Giovanni Scafora giovanni at archlinux.org
Sat Mar 5 17:40:19 UTC 2011


    Date: Saturday, March 5, 2011 @ 12:40:19
  Author: giovanni
Revision: 112643

Added as dependence of perl-mime-tools

Added:
  perl-convert-binhex/
  perl-convert-binhex/repos/
  perl-convert-binhex/trunk/
  perl-convert-binhex/trunk/PKGBUILD
  perl-convert-binhex/trunk/perl-convert-binhex.install

-----------------------------+
 PKGBUILD                    |   31 +++++++++++++++++++++++++++++++
 perl-convert-binhex.install |    8 ++++++++
 2 files changed, 39 insertions(+)

Added: perl-convert-binhex/trunk/PKGBUILD
===================================================================
--- perl-convert-binhex/trunk/PKGBUILD	                        (rev 0)
+++ perl-convert-binhex/trunk/PKGBUILD	2011-03-05 17:40:19 UTC (rev 112643)
@@ -0,0 +1,31 @@
+# $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.119
+pkgrel=3
+pkgdesc="Perl module to extract data from Macintosh BinHex files"
+arch=('any')
+url="http://search.cpan.org/~eryq/Convert-BinHex-1.119/"
+license=('PerlArtistic')
+depends=('perl')
+options=('!emptydirs')
+install=${pkgname}.install
+source=("http://search.cpan.org/CPAN/authors/id/E/ER/ERYQ/Convert-BinHex-$pkgver.tar.gz");
+md5sums=('ba70ad1772abac6270078f28197a7961')
+
+build() {
+  cd "${srcdir}/Convert-BinHex-${pkgver}"
+
+  # install module in vendor directories.
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
+  make DESTDIR="${pkgdir}/" install
+
+  # remove perllocal.pod and .packlist
+  find "${pkgdir}" -name perllocal.pod -delete
+  find "${pkgdir}" -name .packlist -delete
+}


Property changes on: perl-convert-binhex/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
   + Id

Added: perl-convert-binhex/trunk/perl-convert-binhex.install
===================================================================
--- perl-convert-binhex/trunk/perl-convert-binhex.install	                        (rev 0)
+++ perl-convert-binhex/trunk/perl-convert-binhex.install	2011-03-05 17:40:19 UTC (rev 112643)
@@ -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