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

Felix Yan felixonmars at archlinux.org
Sat May 25 09:23:41 UTC 2019


    Date: Saturday, May 25, 2019 @ 09:23:40
  Author: felixonmars
Revision: 470131

archrelease: copy trunk to community-staging-any

Added:
  perl-module-find/repos/community-staging-any/
  perl-module-find/repos/community-staging-any/PKGBUILD
    (from rev 470130, perl-module-find/trunk/PKGBUILD)

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

Copied: perl-module-find/repos/community-staging-any/PKGBUILD (from rev 470130, perl-module-find/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-05-25 09:23:40 UTC (rev 470131)
@@ -0,0 +1,37 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Jonathan Steel <jsteel at aur.archlinux.org>
+# Contributor: Alan Young <harleypig at gmail.com>
+
+pkgname=perl-module-find
+_cpanname=Module-Find
+pkgver=0.13
+pkgrel=5
+pkgdesc="Find and use installed perl modules in a (sub)category"
+url='http://search.cpan.org/dist/Module-Find'
+arch=('any')
+license=('PerlArtistic' 'GPL')
+depends=('perl')
+checkdepends=('perl-test-pod' 'perl-test-pod-coverage')
+options=('!emptydirs')
+source=(${pkgname}-${pkgver}.tar.gz::http://search.cpan.org/CPAN/authors/id/C/CR/CRENZ/${_cpanname}-${pkgver}.tar.gz)
+sha512sums=('86c6b845cddf884cdd13a5ac4982220cc0da66af3d17e92eec6714bf56607e6d414baec90e0e23e04876023df435c9ee2f4411f0f557e34ba4327b0a615a56dc')
+
+build() {
+  cd ${_cpanname}-${pkgver}
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd ${_cpanname}-${pkgver}
+  make test
+}
+
+package() {
+  cd ${_cpanname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+  install -Dm 644 README "${pkgdir}/usr/share/doc/${pkgname}/README"
+  install -Dm 644 examples/* -t "${pkgdir}/usr/share/doc/${pkgname}/examples"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list