[arch-commits] Commit in perl-gtk3/repos (2 files)

Fabio Castelli muflone at archlinux.org
Sun Jul 7 23:02:24 UTC 2019


    Date: Sunday, July 7, 2019 @ 23:02:23
  Author: muflone
Revision: 487663

archrelease: copy trunk to community-testing-any

Added:
  perl-gtk3/repos/community-testing-any/
  perl-gtk3/repos/community-testing-any/PKGBUILD
    (from rev 487662, perl-gtk3/trunk/PKGBUILD)

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

Copied: perl-gtk3/repos/community-testing-any/PKGBUILD (from rev 487662, perl-gtk3/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2019-07-07 23:02:23 UTC (rev 487663)
@@ -0,0 +1,40 @@
+# Maintainer: Muflone http://www.muflone.com/contacts/english/
+# Contributor: Ordoban <dirk.langer at vvovgonik.de>
+# Contributor: John D Jones III AKA jnbek <jnbek1972 -_AT_- g m a i l -_Dot_- com>
+
+pkgname=perl-gtk3
+_perl_module=Gtk3
+pkgver=0.035
+pkgrel=1
+pkgdesc="Perl interface to the 3.x series of the GTK+ toolkit"
+arch=('any')
+url="https://metacpan.org/release/${_perl_module}"
+license=('LGPL')
+checkdepends=('ttf-dejavu' 'xorg-server-xvfb')
+depends=('gtk3' 'perl-cairo-gobject' 'perl-glib-object-introspection')
+source=("https://cpan.metacpan.org/authors/id/X/XA/XAOC/${_perl_module}-${pkgver}.tar.gz")
+sha256sums=('8fb9d69da95b724d70793e084ea40b7d62839e1b4ce6a5bb9579a4257b2419fe')
+options=('!emptydirs')
+
+build() {
+  cd "${_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_module}-${pkgver}"
+  unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+  export PERL_MM_USE_DEFAULT=1
+  xvfb-run -a -s "-extension GLX -screen 0 1280x1024x24" make test
+}
+
+package() {
+  cd "${_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