Date: Thursday, August 24, 2017 @ 12:57:48
  Author: foutrelis
Revision: 303408

archrelease: copy trunk to staging-any

Added:
  perl-common-sense/repos/staging-any/
  perl-common-sense/repos/staging-any/PKGBUILD
    (from rev 303407, perl-common-sense/trunk/PKGBUILD)

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

Copied: perl-common-sense/repos/staging-any/PKGBUILD (from rev 303407, 
perl-common-sense/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD                                (rev 0)
+++ staging-any/PKGBUILD        2017-08-24 12:57:48 UTC (rev 303408)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=perl-common-sense
+pkgver=3.74
+pkgrel=2
+pkgdesc="Implements some sane defaults for Perl programs"
+arch=('any')
+url="http://search.cpan.org/dist/common-sense";
+license=('PerlArtistic' 'GPL')
+depends=('perl')
+options=('!emptydirs')
+source=("http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/common-sense-$pkgver.tar.gz";)
+md5sums=('35b273147200c4c95eef7816f83e572d')
+
+build() {
+  cd common-sense-$pkgver
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd common-sense-$pkgver
+  make test
+}
+
+package() {
+  cd common-sense-$pkgver
+  make DESTDIR="$pkgdir" install
+}

Reply via email to