summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules/perl-convert-binhex
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-07 17:54:22 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-07 17:54:22 (GMT)
commitff0f7cee2dc2b420e257313fef663a3f78bbc800 (patch)
tree7af473b8667e5c685144e8123934878b79896412 /abs/core/perl_modules/perl-convert-binhex
parent16a043fed17ea05b6d6ca012ff09b71008562790 (diff)
downloadlinhes_pkgbuild-ff0f7cee2dc2b420e257313fef663a3f78bbc800.zip
linhes_pkgbuild-ff0f7cee2dc2b420e257313fef663a3f78bbc800.tar.gz
linhes_pkgbuild-ff0f7cee2dc2b420e257313fef663a3f78bbc800.tar.bz2
perl_modules: updated to many to list
Diffstat (limited to 'abs/core/perl_modules/perl-convert-binhex')
-rw-r--r--abs/core/perl_modules/perl-convert-binhex/PKGBUILD36
-rw-r--r--abs/core/perl_modules/perl-convert-binhex/perl-convert-binhex.install8
2 files changed, 44 insertions, 0 deletions
diff --git a/abs/core/perl_modules/perl-convert-binhex/PKGBUILD b/abs/core/perl_modules/perl-convert-binhex/PKGBUILD
new file mode 100644
index 0000000..9b2311b
--- /dev/null
+++ b/abs/core/perl_modules/perl-convert-binhex/PKGBUILD
@@ -0,0 +1,36 @@
+# $Id: PKGBUILD 143927 2011-11-30 21:19:35Z giovanni $
+# Maintainer: Giovanni Scafora <giovanni@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=4
+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
+}
+
+package() {
+ cd "${srcdir}/Convert-BinHex-${pkgver}"
+
+ make DESTDIR="${pkgdir}/" install
+
+ # remove perllocal.pod and .packlist
+ find "${pkgdir}" -name perllocal.pod -delete
+ find "${pkgdir}" -name .packlist -delete
+}
diff --git a/abs/core/perl_modules/perl-convert-binhex/perl-convert-binhex.install b/abs/core/perl_modules/perl-convert-binhex/perl-convert-binhex.install
new file mode 100644
index 0000000..398bfbe
--- /dev/null
+++ b/abs/core/perl_modules/perl-convert-binhex/perl-convert-binhex.install
@@ -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
+}