Date: Thursday, June 2, 2016 @ 21:11:01
  Author: spupykin
Revision: 177762

archrelease: copy trunk to community-any

Added:
  perl-file-sharedir-install/repos/community-any/
  perl-file-sharedir-install/repos/community-any/PKGBUILD
    (from rev 177761, perl-file-sharedir-install/trunk/PKGBUILD)

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

Copied: perl-file-sharedir-install/repos/community-any/PKGBUILD (from rev 
177761, perl-file-sharedir-install/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD                              (rev 0)
+++ community-any/PKGBUILD      2016-06-02 19:11:01 UTC (rev 177762)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Sergej Pupykin <[email protected]>
+# Maintainer: Jason St. John <jstjohn .. purdue . edu>
+# Contributor: AUR Perl <[email protected]>
+
+_perlmod=File-ShareDir-Install
+_modnamespace=File
+pkgname=perl-file-sharedir-install
+pkgver=0.10
+pkgrel=1
+pkgdesc="File::ShareDir::Install - Install read-only data files from a 
distribution"
+arch=('any')
+url="http://search.cpan.org/dist/${_perlmod}";
+license=('GPL' 'PerlArtistic')
+checkdepends=('perl-test-pod' 'perl-test-pod-coverage')
+options=('!emptydirs')
+source=("http://cpan.org/modules/by-module/${_modnamespace}/${_perlmod}-${pkgver}.tar.gz";)
+md5sums=('37fb7fa72ce7184516dd022aba62f524')
+
+build() {
+       cd "${_perlmod}-${pkgver}"
+
+       # Install module in vendor directories.
+       PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+       make
+}
+
+check() {
+       cd "${_perlmod}-${pkgver}"
+       make test
+}
+
+package() {
+       cd "${_perlmod}-${pkgver}"
+       make install DESTDIR="${pkgdir}"
+}

Reply via email to