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

Felix Yan felixonmars at archlinux.org
Sat May 25 13:26:35 UTC 2019


    Date: Saturday, May 25, 2019 @ 13:26:34
  Author: felixonmars
Revision: 470681

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: perl-glib-object-introspection/repos/community-staging-x86_64/PKGBUILD (from rev 470680, perl-glib-object-introspection/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-05-25 13:26:34 UTC (rev 470681)
@@ -0,0 +1,42 @@
+# 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.047
+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://cpan.metacpan.org/authors/id/X/XA/XAOC/${_perl_namespace}-${_perl_module}-${pkgver}.tar.gz")
+md5sums=(1fe79aa2eaada96f0b2bdacb6bac960d)
+sha512sums=(3ec4306ad0ae3e5d21eb7b61bfaf7ed0d6e2cc9d107d0456a5221a2627ebb97e4e1654dc9077f561ef064184b3c758c90a9e05062d316cee421457a1d07038dd)
+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