[arch-commits] Commit in (4 files)

Fabio Castelli muflone at archlinux.org
Tue Apr 3 22:12:03 UTC 2018


    Date: Tuesday, April 3, 2018 @ 22:12:02
  Author: muflone
Revision: 314008

new package perl-glib-object-introspection 0.043-2

Added:
  perl-glib-object-introspection/
  perl-glib-object-introspection/repos/
  perl-glib-object-introspection/trunk/
  perl-glib-object-introspection/trunk/PKGBUILD

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

Added: perl-glib-object-introspection/trunk/PKGBUILD
===================================================================
--- perl-glib-object-introspection/trunk/PKGBUILD	                        (rev 0)
+++ perl-glib-object-introspection/trunk/PKGBUILD	2018-04-03 22:12:02 UTC (rev 314008)
@@ -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
+}


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



More information about the arch-commits mailing list