[arch-commits] Commit in perl-universal-can/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Fri Nov 9 23:14:42 UTC 2018
Date: Friday, November 9, 2018 @ 23:14:42
Author: felixonmars
Revision: 405208
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 405207, perl-universal-can/trunk/PKGBUILD)
----------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
Copied: perl-universal-can/repos/community-staging-any/PKGBUILD (from rev 405207, perl-universal-can/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2018-11-09 23:14:42 UTC (rev 405208)
@@ -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=3
+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=(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