[arch-commits] Commit in perl-test-mockobject/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Thu Jun 1 11:55:10 UTC 2017
Date: Thursday, June 1, 2017 @ 11:55:09
Author: felixonmars
Revision: 232204
archrelease: copy trunk to community-staging-any
Added:
perl-test-mockobject/repos/community-staging-any/
perl-test-mockobject/repos/community-staging-any/PKGBUILD
(from rev 232203, perl-test-mockobject/trunk/PKGBUILD)
----------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
Copied: perl-test-mockobject/repos/community-staging-any/PKGBUILD (from rev 232203, perl-test-mockobject/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2017-06-01 11:55:09 UTC (rev 232204)
@@ -0,0 +1,28 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Francois Charette <firmicus at gmx.net>
+
+pkgname=perl-test-mockobject
+pkgver=1.20161202
+pkgrel=2
+pkgdesc="Perl extension for emulating troublesome interfaces "
+arch=('any')
+url="http://search.cpan.org/dist/Test-MockObject"
+license=('GPL' 'PerlArtistic')
+depends=('perl-universal-can>=1.11' 'perl-universal-isa>=0.06')
+options=('!emptydirs')
+source=(http://www.cpan.org/authors/id/C/CH/CHROMATIC/Test-MockObject-$pkgver.tar.gz)
+sha256sums=('14b225fff3645338697976dbbe2c39e44c1c93536855b78b3bbc6e9bfe94a0a2')
+
+build() {
+ cd "$srcdir"/Test-MockObject-$pkgver
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+package() {
+ cd "$srcdir"/Test-MockObject-$pkgver
+ make install DESTDIR="$pkgdir"
+ find "$pkgdir" -name '.packlist' -delete
+ find "$pkgdir" -name '*.pod' -delete
+}
More information about the arch-commits
mailing list