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

Felix Yan felixonmars at archlinux.org
Sun Jun 21 10:26:26 UTC 2020


    Date: Sunday, June 21, 2020 @ 10:26:26
  Author: felixonmars
Revision: 389636

archrelease: copy trunk to staging-any

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

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

Copied: perl-common-sense/repos/staging-any/PKGBUILD (from rev 389635, perl-common-sense/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2020-06-21 10:26:26 UTC (rev 389636)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-common-sense
+pkgver=3.75
+pkgrel=2
+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