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

Evangelos Foutras foutrelis at archlinux.org
Sat Aug 26 11:51:52 UTC 2017


    Date: Saturday, August 26, 2017 @ 11:51:51
  Author: foutrelis
Revision: 253899

archrelease: copy trunk to community-staging-any

Added:
  perl-archive-cpio/repos/community-staging-any/
  perl-archive-cpio/repos/community-staging-any/PKGBUILD
    (from rev 253898, perl-archive-cpio/trunk/PKGBUILD)

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

Copied: perl-archive-cpio/repos/community-staging-any/PKGBUILD (from rev 253898, perl-archive-cpio/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2017-08-26 11:51:51 UTC (rev 253899)
@@ -0,0 +1,34 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgname=perl-archive-cpio
+_cpanname=Archive-Cpio
+pkgver=0.10
+pkgrel=2
+pkgdesc='module for manipulations of cpio archives'
+url='https://metacpan.org/pod/Archive::Cpio'
+arch=('any')
+license=('unknown')
+depends=('perl>=5.10.0')
+options=('!emptydirs')
+source=(${pkgname}-${pkgver}.tar.gz::https://cpan.metacpan.org/authors/id/P/PI/PIXEL/${_cpanname}-${pkgver}.tar.gz)
+sha256sums=('246fb31669764e78336b2191134122e07c44f2d82dc4f37d552ab28f8668bed3')
+sha512sums=('c828f6f199de0efd7c7fbe2c3d4c5304df3c714720d91dd9a7d76e2c8d16bab1b92fc93a0b8afe78bd89b043ce7684c31d54b13c4e840f68ee040ca7bff43c3d')
+
+build() {
+  cd ${_cpanname}-${pkgver}
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd ${_cpanname}-${pkgver}
+  make test
+}
+
+package() {
+  cd ${_cpanname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+  install -Dm 644 Changes -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list