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

Felix Yan felixonmars at archlinux.org
Fri Nov 9 20:49:21 UTC 2018


    Date: Friday, November 9, 2018 @ 20:49:21
  Author: felixonmars
Revision: 404424

archrelease: copy trunk to community-staging-any

Added:
  perl-readonly/repos/community-staging-any/
  perl-readonly/repos/community-staging-any/PKGBUILD
    (from rev 404423, perl-readonly/trunk/PKGBUILD)

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

Copied: perl-readonly/repos/community-staging-any/PKGBUILD (from rev 404423, perl-readonly/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-11-09 20:49:21 UTC (rev 404424)
@@ -0,0 +1,37 @@
+# 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=3
+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