[arch-commits] Commit in perl-readonly/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Thu Jun 1 18:14:41 UTC 2017
Date: Thursday, June 1, 2017 @ 18:14:41
Author: foutrelis
Revision: 232502
archrelease: copy trunk to community-staging-any
Added:
perl-readonly/repos/community-staging-any/
perl-readonly/repos/community-staging-any/PKGBUILD
(from rev 232501, perl-readonly/trunk/PKGBUILD)
----------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
Copied: perl-readonly/repos/community-staging-any/PKGBUILD (from rev 232501, perl-readonly/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2017-06-01 18:14:41 UTC (rev 232502)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
+# Contributor: John D Jones III <jnbek1972 -_AT_- g m a i l -_Dot_- com>
+
+pkgname=perl-readonly
+pkgver=2.05
+pkgrel=2
+pkgdesc="Facility for creating read-only scalars, arrays, hashes"
+arch=('any')
+url='http://search.mcpan.org/dist/Readonly'
+license=('GPL' 'PerlArtistic')
+depends=('perl')
+makedepends=('perl-module-build-tiny')
+options=('!emptydirs')
+source=(http://search.mcpan.org/CPAN/authors/id/S/SA/SANKO/Readonly-$pkgver.tar.gz)
+sha256sums=('4b23542491af010d44a5c7c861244738acc74ababae6b8838d354dfb19462b5e')
+
+build() {
+ cd "${srcdir}"/Readonly-$pkgver
+
+ perl Build.PL --installdirs=vendor
+ ./Build
+}
+
+check() {
+ cd "${srcdir}"/Readonly-$pkgver
+
+ ./Build test
+}
+
+package() {
+ cd "${srcdir}"/Readonly-$pkgver
+
+ ./Build install --destdir="${pkgdir}"
+
+ find "${pkgdir}" -name '.packlist' -delete
+ find "${pkgdir}" -name '*.pod' -delete
+}
More information about the arch-commits
mailing list