[arch-commits] Commit in (4 files)

Fabio Castelli muflone at archlinux.org
Mon Apr 2 00:31:57 UTC 2018


    Date: Monday, April 2, 2018 @ 00:31:56
  Author: muflone
Revision: 313792

new package perl-pdf-api2 2.033-2

Added:
  perl-pdf-api2/
  perl-pdf-api2/repos/
  perl-pdf-api2/trunk/
  perl-pdf-api2/trunk/PKGBUILD

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

Added: perl-pdf-api2/trunk/PKGBUILD
===================================================================
--- perl-pdf-api2/trunk/PKGBUILD	                        (rev 0)
+++ perl-pdf-api2/trunk/PKGBUILD	2018-04-02 00:31:56 UTC (rev 313792)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Muflone http://www.muflone.com/contacts/english/
+# Contributor: Chad Harp <chad dot harp at mac dot com>
+# Contributor: FadeMind <fademind at gmail dot com>
+# Contributor: TDY <tdy at archlinux dot info>
+# Contributor: Sven Salzwedel <sven_salzwedel at web dot de>
+# Contributor: Olaf Leidinger <leidola at newcon dot de>
+
+pkgname=perl-pdf-api2
+_perl_namespace=PDF
+_perl_module=API2
+pkgver=2.033
+pkgrel=2
+pkgdesc="Faciliates the creation and modification of PDF files"
+arch=('any')
+url="https://metacpan.org/release/${_perl_namespace}-${_perl_module}"
+license=('LGPL')
+depends=('perl' 'perl-font-ttf')
+checkdepends=('perl-test-exception' 'perl-test-memory-cycle')
+source=("https://www.cpan.org/modules/by-module/${_perl_namespace}/${_perl_namespace}-${_perl_module}-${pkgver}.tar.gz")
+sha256sums=('9c0866ec1a3053f73afaca5f5cdbe6925903b4ce606f4bf4ac317731a69d27a0')
+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
+}


Property changes on: perl-pdf-api2/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list