[arch-commits] Commit in perl-common-sense/repos (staging-any staging-any/PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Mon May 24 08:31:55 UTC 2021


    Date: Monday, May 24, 2021 @ 08:31:54
  Author: foutrelis
Revision: 415954

archrelease: copy trunk to staging-any

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

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

Copied: perl-common-sense/repos/staging-any/PKGBUILD (from rev 415952, perl-common-sense/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2021-05-24 08:31:54 UTC (rev 415954)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-common-sense
+pkgver=3.75
+pkgrel=3
+pkgdesc="Implements some sane defaults for Perl programs"
+arch=('any')
+url="https://search.cpan.org/dist/common-sense"
+license=('PerlArtistic' 'GPL')
+depends=('perl')
+options=('!emptydirs')
+source=("https://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/common-sense-$pkgver.tar.gz")
+sha512sums=('cb6034d9ff721a4122e0215db8ad5279ec4b189c3364593d427d70a1e84a1583a0e1447e276aa9a4fcaeb2f9d47a465a5bc4c0f842c803d3ddf91755311f4af4')
+
+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
+}



More information about the arch-commits mailing list