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

Evangelos Foutras foutrelis at archlinux.org
Sat Aug 26 13:45:42 UTC 2017


    Date: Saturday, August 26, 2017 @ 13:45:41
  Author: foutrelis
Revision: 254042

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 254041, perl-types-serialiser/trunk/PKGBUILD)

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

Copied: perl-types-serialiser/repos/community-staging-any/PKGBUILD (from rev 254041, perl-types-serialiser/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2017-08-26 13:45:41 UTC (rev 254042)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname='perl-types-serialiser'
+pkgver=1.0
+pkgrel=3
+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