[arch-commits] Commit in perl-image-sane/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Sat May 25 12:07:56 UTC 2019


    Date: Saturday, May 25, 2019 @ 12:07:56
  Author: foutrelis
Revision: 470616

archrelease: copy trunk to community-staging-x86_64

Added:
  perl-image-sane/repos/community-staging-x86_64/
  perl-image-sane/repos/community-staging-x86_64/PKGBUILD
    (from rev 470615, perl-image-sane/trunk/PKGBUILD)

----------+
 PKGBUILD |   44 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)

Copied: perl-image-sane/repos/community-staging-x86_64/PKGBUILD (from rev 470615, perl-image-sane/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-05-25 12:07:56 UTC (rev 470616)
@@ -0,0 +1,44 @@
+# Maintainer: Muflone http://www.muflone.com/contacts/english/
+# Contributor: John D Jones III AKA jnbek <jnbek1972 -_AT_- g m a i l -_Dot_- com>
+# Contributor: Stefan Husmann <stefan-husmann at t-online.de>
+
+pkgname=perl-image-sane
+_perl_namespace=Image
+_perl_module=Sane
+pkgver=0.14
+pkgrel=3
+pkgdesc="Perl extension for the SANE (Scanner Access Now Easy) Project"
+arch=('x86_64')
+url="https://metacpan.org/release/${_perl_namespace}-${_perl_module}"
+license=('PerlArtistic' 'GPL')
+makedepends=('imagemagick')
+depends=('perl' 'sane' 'perl-extutils-depends' 'perl-extutils-pkgconfig' 'perl-readonly' 'perl-test-requires' 'perl-exception-class' 'perl-try-tiny')
+provides=('perl-sane')
+replaces=('perl-sane')
+conflicts=('perl-sane')
+source=("https://www.cpan.org/modules/by-module/${_perl_namespace}/${_perl_namespace}-${_perl_module}-${pkgver}.tar.gz")
+sha256sums=('a4b027c9b7650291f1acb0eb93861a7fc45aef4e08f6726843f174fa113c8ba5')
+options=('!emptydirs')
+
+build() {
+  cd "${_perl_namespace}-${_perl_module}-${pkgver}"
+  unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+  export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
+  perl Makefile.PL
+  make
+}
+
+check() {
+  cd "${_perl_namespace}-${_perl_module}-${pkgver}"
+  unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+  export PERL_MM_USE_DEFAULT=1
+  make test
+}
+
+package() {
+  cd "${_perl_namespace}-${_perl_module}-${pkgver}"
+  unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+  make pure_install INSTALLDIRS=vendor DESTDIR="${pkgdir}"
+  # Delete unuseful files
+  find "${pkgdir}" -name '.packlist' -delete
+}



More information about the arch-commits mailing list