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

Felix Yan felixonmars at gemini.archlinux.org
Sun May 29 09:32:03 UTC 2022


    Date: Sunday, May 29, 2022 @ 09:32:03
  Author: felixonmars
Revision: 446689

archrelease: copy trunk to staging-any

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

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

Copied: perl-common-sense/repos/staging-any/PKGBUILD (from rev 446688, perl-common-sense/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2022-05-29 09:32:03 UTC (rev 446689)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-common-sense
+pkgver=3.75
+pkgrel=4
+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