[arch-commits] Commit in perl-cpan-perl-releases/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Thu Jun 1 08:54:08 UTC 2017
Date: Thursday, June 1, 2017 @ 08:54:07
Author: felixonmars
Revision: 231842
archrelease: copy trunk to community-staging-any
Added:
perl-cpan-perl-releases/repos/community-staging-any/
perl-cpan-perl-releases/repos/community-staging-any/PKGBUILD
(from rev 231841, perl-cpan-perl-releases/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: perl-cpan-perl-releases/repos/community-staging-any/PKGBUILD (from rev 231841, perl-cpan-perl-releases/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2017-06-01 08:54:07 UTC (rev 231842)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer:
+
+pkgname=perl-cpan-perl-releases
+pkgver=3.16
+pkgrel=2
+pkgdesc='Mapping Perl releases on CPAN to the location of the tarballs'
+arch=('any')
+url="https://metacpan.org/release/CPAN-Perl-Releases"
+license=('PerlArtistic' 'GPL')
+depends=('perl')
+options=('!emptydirs')
+source=("http://search.cpan.org/CPAN/authors/id/B/BI/BINGOS/CPAN-Perl-Releases-$pkgver.tar.gz")
+sha256sums=('59065fccd8502a65fbe3bf03ad8e4ca0ba689261a7cfc089cf4fb2a81f2df06f')
+
+build() {
+ cd CPAN-Perl-Releases-$pkgver
+ perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ cd CPAN-Perl-Releases-$pkgver
+ make test
+}
+
+package() {
+ cd CPAN-Perl-Releases-$pkgver
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list