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

Felix Yan felixonmars at archlinux.org
Tue Jul 7 16:42:48 UTC 2020


    Date: Tuesday, July 7, 2020 @ 16:42:48
  Author: felixonmars
Revision: 659376

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 659375, perl-universal-can/trunk/PKGBUILD)

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

Copied: perl-universal-can/repos/community-staging-any/PKGBUILD (from rev 659375, perl-universal-can/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-07-07 16:42:48 UTC (rev 659376)
@@ -0,0 +1,28 @@
+# 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=4
+pkgdesc="Hack around people calling UNIVERSAL::can() as a function"
+arch=('any')
+url="https://search.cpan.org/dist/UNIVERSAL-can"
+license=('GPL' 'PerlArtistic')
+depends=('perl>=5.10.0')
+options=('!emptydirs')
+source=(https://www.cpan.org/authors/id/C/CH/CHROMATIC/UNIVERSAL-can-$pkgver.tar.gz)
+sha256sums=('522da9f274786fe2cba99bc77cc1c81d2161947903d7fad10bd62dfb7f11990f')
+
+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