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

Evangelos Foutras foutrelis at gemini.archlinux.org
Sun May 29 11:12:49 UTC 2022


    Date: Sunday, May 29, 2022 @ 11:12:49
  Author: foutrelis
Revision: 1214268

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 1214266, 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 1214266, perl-glib-object-introspection/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2022-05-29 11:12:49 UTC (rev 1214268)
@@ -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.049
+pkgrel=3
+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=('0d8ab0bf9c4d0a72eb35c16a2ff10d42')
+sha512sums=('fa927661dc761bfae9dba87e1e2d519b10c3aac4d6dcea37764972a0413a4f5025a12df640d66928b631c2933d4b0e6d02b559ea2c1eaa38fae6f7a9d98fe322')
+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