[arch-commits] Commit in perl-event-execflow/repos (staging-any staging-any/PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Fri Nov 9 22:50:25 UTC 2018


    Date: Friday, November 9, 2018 @ 22:50:24
  Author: foutrelis
Revision: 338725

archrelease: copy trunk to staging-any

Added:
  perl-event-execflow/repos/staging-any/
  perl-event-execflow/repos/staging-any/PKGBUILD
    (from rev 338724, perl-event-execflow/trunk/PKGBUILD)

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

Copied: perl-event-execflow/repos/staging-any/PKGBUILD (from rev 338724, perl-event-execflow/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2018-11-09 22:50:24 UTC (rev 338725)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan <felixonmars at gmail.com>
+# Contributor: tobias <tobias at archlinux.org>
+# Contributor: Tobias Kieslich <tobias at justdreams.de>
+
+pkgname=perl-event-execflow
+_realname=Event-ExecFlow
+pkgver=0.64
+pkgrel=6
+pkgdesc="Framework for perl-events"
+arch=('any')
+license=('PerlArtistic')
+url="http://www.exit1.org/${_realname}/"
+depends=('perl-anyevent' 'perl-libintl-perl' 'perl>=5.10.0')
+options=('!emptydirs')
+source=(http://search.cpan.org/CPAN/authors/id/J/JR/JRED/${_realname}-${pkgver}.tar.gz)
+md5sums=('7370ea61607a200239cdd491755efee3')
+
+build() {
+  cd "${srcdir}/${_realname}-${pkgver}"
+  # install module in vendor directories.
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd "${srcdir}/${_realname}-${pkgver}"
+  make test
+}
+
+package() {
+  cd "${srcdir}/${_realname}-${pkgver}"
+  make install DESTDIR="${pkgdir}/"
+
+  # remove perllocal.pod and .packlist
+  find "${pkgdir}" -name perllocal.pod -delete
+  find "${pkgdir}" -name .packlist -delete
+}


More information about the arch-commits mailing list