[arch-commits] Commit in perl-graphics-tiff/repos (2 files)

Fabio Castelli muflone at archlinux.org
Sun May 2 16:28:51 UTC 2021


    Date: Sunday, May 2, 2021 @ 16:28:51
  Author: muflone
Revision: 926169

archrelease: copy trunk to community-x86_64

Added:
  perl-graphics-tiff/repos/community-x86_64/
  perl-graphics-tiff/repos/community-x86_64/PKGBUILD
    (from rev 926168, perl-graphics-tiff/trunk/PKGBUILD)

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

Copied: perl-graphics-tiff/repos/community-x86_64/PKGBUILD (from rev 926168, perl-graphics-tiff/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2021-05-02 16:28:51 UTC (rev 926169)
@@ -0,0 +1,40 @@
+# Maintainer: Muflone http://www.muflone.com/contacts/english/
+
+pkgname=perl-graphics-tiff
+_perl_namespace=Graphics
+_perl_module=TIFF
+pkgver=12
+pkgrel=1
+pkgdesc="Extension for the libtiff library"
+arch=('x86_64')
+url="https://metacpan.org/release/${_perl_namespace}-${_perl_module}"
+license=('LGPL')
+makedepends=('perl-extutils-depends' 'perl-extutils-pkgconfig')
+depends=('perl' 'libtiff')
+checkdepends=('perl-readonly' 'perl-test-requires' 'perl-test-deep')
+source=("https://www.cpan.org/modules/by-module/${_perl_namespace}/${_perl_namespace}-${_perl_module}-${pkgver}.tar.gz")
+sha512sums=('f795e105a2d575d9c33d138b62f50cc3d6497fdc0b8d34dd8d8e89a27c91ee563a1f5e8a56c3ac48aa9f106abd7d94b66feb9ee43d990f1b5f7f78dda00dabb7')
+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