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

Fabio Castelli muflone at archlinux.org
Tue Apr 3 22:46:52 UTC 2018


    Date: Tuesday, April 3, 2018 @ 22:46:51
  Author: muflone
Revision: 314028

archrelease: copy trunk to community-testing-any

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

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

Copied: perl-gtk3-simplelist/repos/community-testing-any/PKGBUILD (from rev 314027, perl-gtk3-simplelist/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2018-04-03 22:46:51 UTC (rev 314028)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Muflone http://www.muflone.com/contacts/english/
+
+pkgname=perl-gtk3-simplelist
+_perl_module=Gtk3-SimpleList
+pkgver=0.17
+pkgrel=2
+pkgdesc="Perl interface to the Gtk3's complex MVC list widget"
+arch=('any')
+url="https://metacpan.org/release/${_perl_module}"
+license=('PerlArtistic' 'GPL')
+depends=('perl-gtk3')
+source=("https://cpan.metacpan.org/authors/id/T/TV/TVIGNAUD/${_perl_module}-${pkgver}.tar.gz")
+sha256sums=('ed201f74a9ff3542b7cc260159e87ca5894c24a5b182a39d6f86bb84669c9053')
+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
+  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