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

Evangelos Foutras foutrelis at archlinux.org
Wed Aug 1 09:20:29 UTC 2018


    Date: Wednesday, August 1, 2018 @ 09:20:29
  Author: foutrelis
Revision: 366383

archrelease: copy trunk to community-staging-any

Added:
  perl-types-serialiser/repos/community-staging-any/
  perl-types-serialiser/repos/community-staging-any/PKGBUILD
    (from rev 366382, perl-types-serialiser/trunk/PKGBUILD)

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

Copied: perl-types-serialiser/repos/community-staging-any/PKGBUILD (from rev 366382, perl-types-serialiser/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-08-01 09:20:29 UTC (rev 366383)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname='perl-types-serialiser'
+pkgver=1.0
+pkgrel=4
+pkgdesc="simple data types for common serialisation formats"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+depends=('perl-common-sense')
+makedepends=()
+url='http://search.cpan.org/dist/Types-Serialiser'
+source=("http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/Types-Serialiser-$pkgver.tar.gz")
+md5sums=('76460a2bfbc644672499af89192e03fe')
+
+build() {
+  export PERL_MM_USE_DEFAULT=1 PERL5LIB=""                 \
+      PERL_AUTOINSTALL=--skipdeps                            \
+      PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='"$pkgdir"'"     \
+      PERL_MB_OPT="--installdirs vendor --destdir '"$pkgdir"'" \
+      MODULEBUILDRC=/dev/null
+
+  cd "$srcdir/Types-Serialiser-$pkgver"
+  perl Makefile.PL
+  make
+}
+
+check() {
+  cd "$srcdir/Types-Serialiser-$pkgver"
+  export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
+  make test
+}
+
+package() {
+  cd "$srcdir/Types-Serialiser-$pkgver"
+  make install
+  find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+}



More information about the arch-commits mailing list