[arch-commits] Commit in perl-types-serialiser/repos (2 files)
Sergej Pupykin
spupykin at nymeria.archlinux.org
Tue Nov 5 10:05:49 UTC 2013
Date: Tuesday, November 5, 2013 @ 11:05:48
Author: spupykin
Revision: 100499
archrelease: copy trunk to community-any
Added:
perl-types-serialiser/repos/community-any/
perl-types-serialiser/repos/community-any/PKGBUILD
(from rev 100498, perl-types-serialiser/trunk/PKGBUILD)
----------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
Copied: perl-types-serialiser/repos/community-any/PKGBUILD (from rev 100498, perl-types-serialiser/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2013-11-05 10:05:48 UTC (rev 100499)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname='perl-types-serialiser'
+pkgver=0.03
+pkgrel='1'
+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=('a18e0f223da6b7c73068957e7cb6e463')
+
+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