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

Florian Pritz bluewind at archlinux.org
Thu Jun 1 09:16:52 UTC 2017


    Date: Thursday, June 1, 2017 @ 09:16:51
  Author: bluewind
Revision: 232052

archrelease: copy trunk to community-staging-any

Added:
  perl-universal-can/repos/community-staging-any/
  perl-universal-can/repos/community-staging-any/PKGBUILD
    (from rev 232051, perl-universal-can/trunk/PKGBUILD)

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

Copied: perl-universal-can/repos/community-staging-any/PKGBUILD (from rev 232051, perl-universal-can/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2017-06-01 09:16:51 UTC (rev 232052)
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman
+# Contributor: François Charette <firmicus ατ gmx δοτ net>
+
+pkgname=perl-universal-can
+pkgver=1.20140328
+pkgrel=2
+pkgdesc="Hack around people calling UNIVERSAL::can() as a function"
+arch=('any')
+url="http://search.cpan.org/dist/UNIVERSAL-can"
+license=('GPL' 'PerlArtistic')
+depends=('perl>=5.10.0')
+options=('!emptydirs')
+source=(http://www.cpan.org/authors/id/C/CH/CHROMATIC/UNIVERSAL-can-$pkgver.tar.gz)
+md5sums=('7b89d16d59f0d27e45b25fd31300334e')
+
+build() {
+  cd  "$srcdir"/UNIVERSAL-can-$pkgver
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+package() {
+  cd  "$srcdir"/UNIVERSAL-can-$pkgver
+  make install DESTDIR="$pkgdir"
+  find "$pkgdir" -name '.packlist' -delete
+  find "$pkgdir" -name '*.pod' -delete
+}



More information about the arch-commits mailing list