[arch-commits] Commit in perl-glib-object-introspection/repos (2 files)

Fabio Castelli muflone at archlinux.org
Tue Apr 3 22:13:02 UTC 2018


    Date: Tuesday, April 3, 2018 @ 22:13:02
  Author: muflone
Revision: 314011

archrelease: copy trunk to community-testing-x86_64

Added:
  perl-glib-object-introspection/repos/community-testing-x86_64/
  perl-glib-object-introspection/repos/community-testing-x86_64/PKGBUILD
    (from rev 314010, perl-glib-object-introspection/trunk/PKGBUILD)

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

Copied: perl-glib-object-introspection/repos/community-testing-x86_64/PKGBUILD (from rev 314010, perl-glib-object-introspection/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2018-04-03 22:13:02 UTC (rev 314011)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Muflone http://www.muflone.com/contacts/english/
+# Contributor: Brian Bidulock <bidulock at openss7.org>
+# Contributor: John D Jones III AKA jnbek <jnbek1972 -_AT_- g m a i l -_Dot_- com>
+
+pkgname=perl-glib-object-introspection
+_perl_namespace=Glib
+_perl_module=Object-Introspection
+pkgver=0.043
+pkgrel=2
+pkgdesc="Dynamically create Perl language bindings"
+arch=('x86_64')
+url="https://metacpan.org/release/${_perl_namespace}-${_perl_module}"
+license=('LGPL')
+makedepends=('gobject-introspection' 'perl-extutils-depends' 'perl-extutils-pkgconfig' 'perl-cairo-gobject')
+depends=('glib-perl' 'gobject-introspection-runtime')
+source=("https://www.cpan.org/modules/by-module/${_perl_namespace}/${_perl_namespace}-${_perl_module}-${pkgver}.tar.gz")
+sha256sums=('5a0b7c69d9c8c2ecfdf7340e414954ea5edc43a7999eff9b3278bd95e3e7df30')
+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