[arch-commits] Commit in (4 files)

Fabio Castelli muflone at archlinux.org
Sun Apr 1 22:42:46 UTC 2018


    Date: Sunday, April 1, 2018 @ 22:42:46
  Author: muflone
Revision: 313764

new package perl-set-intspan 1.19-6

Added:
  perl-set-intspan/
  perl-set-intspan/repos/
  perl-set-intspan/trunk/
  perl-set-intspan/trunk/PKGBUILD

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

Added: perl-set-intspan/trunk/PKGBUILD
===================================================================
--- perl-set-intspan/trunk/PKGBUILD	                        (rev 0)
+++ perl-set-intspan/trunk/PKGBUILD	2018-04-01 22:42:46 UTC (rev 313764)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Muflone http://www.muflone.com/contacts/english/
+# Contributor: Jason St. John <jstjohn .. purdue . edu>
+# Contributor: yugrotavele <yugrotavele at archlinux dot us>
+
+pkgname=perl-set-intspan
+_perl_namespace=Set
+_perl_module=IntSpan
+pkgver=1.19
+pkgrel=6
+pkgdesc="Manages sets of integers, newsrc style"
+arch=('any')
+url="https://metacpan.org/release/${_perl_namespace}-${_perl_module}"
+license=('PerlArtistic' 'GPL')
+depends=('perl')
+source=("https://www.cpan.org/modules/by-module/${_perl_namespace}/${_perl_namespace}-${_perl_module}-${pkgver}.tar.gz")
+sha256sums=('11b7549b13ec5d87cc695dd4c777cd02983dd5fe9866012877fb530f48b3dfd0')
+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-set-intspan/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list