[arch-commits] Commit in perl-convert-binhex/repos/extra-any (3 files)

Felix Yan felixonmars at gemini.archlinux.org
Sat Aug 14 22:31:54 UTC 2021


    Date: Saturday, August 14, 2021 @ 22:31:54
  Author: felixonmars
Revision: 422261

archrelease: copy trunk to extra-any

Added:
  perl-convert-binhex/repos/extra-any/PKGBUILD
    (from rev 422260, perl-convert-binhex/trunk/PKGBUILD)
Deleted:
  perl-convert-binhex/repos/extra-any/PKGBUILD
  perl-convert-binhex/repos/extra-any/perl-convert-binhex.install

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-08-14 22:31:39 UTC (rev 422260)
+++ PKGBUILD	2021-08-14 22:31:54 UTC (rev 422261)
@@ -1,31 +0,0 @@
-# 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=8
-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/extra-any/PKGBUILD (from rev 422260, perl-convert-binhex/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-08-14 22:31:54 UTC (rev 422261)
@@ -0,0 +1,33 @@
+# 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=9
+pkgdesc="Perl module to extract data from Macintosh BinHex files"
+arch=('any')
+url="https://search.cpan.org/dist/Convert-BinHex/"
+license=('PerlArtistic')
+depends=('perl')
+checkdepends=('perl-file-slurp' 'perl-test-most')
+options=('!emptydirs')
+source=("https://search.cpan.org/CPAN/authors/id/S/ST/STEPHEN/Convert-BinHex-$pkgver.tar.gz")
+md5sums=('2f485e1283387ead5b92243e1aacff9d')
+
+build() {
+  cd Convert-BinHex-$pkgver
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd Convert-BinHex-$pkgver
+  make test
+}
+
+package() {
+  cd Convert-BinHex-$pkgver
+  make DESTDIR="$pkgdir" install
+}

Deleted: perl-convert-binhex.install
===================================================================
--- perl-convert-binhex.install	2021-08-14 22:31:39 UTC (rev 422260)
+++ perl-convert-binhex.install	2021-08-14 22:31:54 UTC (rev 422261)
@@ -1,8 +0,0 @@
-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