[arch-commits] Commit in (4 files)
Bruno Pagani
archange at archlinux.org
Thu Mar 15 22:43:06 UTC 2018
Date: Thursday, March 15, 2018 @ 22:43:05
Author: archange
Revision: 308730
Initial addition of perl strictures module to [community]
Added:
perl-strictures/
perl-strictures/repos/
perl-strictures/trunk/
perl-strictures/trunk/PKGBUILD
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Added: perl-strictures/trunk/PKGBUILD
===================================================================
--- perl-strictures/trunk/PKGBUILD (rev 0)
+++ perl-strictures/trunk/PKGBUILD 2018-03-15 22:43:05 UTC (rev 308730)
@@ -0,0 +1,31 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkg=strictures
+pkgname=perl-${_pkg}
+pkgver=2.000003
+pkgrel=1
+pkgdesc="Object-oriented methods for interacting with GnuPG"
+arch=('any')
+url="https://metacpan.org/release/${_pkg}"
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl')
+source=("https://cpan.metacpan.org/authors/id/H/HA/HAARG/${_pkg}-${pkgver}.tar.gz")
+sha512sums=('c187a32f70c2be97cbe783e700d54d1e7b7ce7a8ea0b5ce72851b1efbe9b64121fb4b626463c4c62fb384893e4e3102afeaa21cd3e500fefc61c5b4b3924d21b')
+
+build() {
+ cd ${_pkg}-${pkgver}
+ export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
+ perl Makefile.PL
+ make
+}
+
+check() {
+ cd ${_pkg}-${pkgver}
+ make test
+}
+
+package() {
+ cd ${_pkg}-${pkgver}
+ make INSTALLDIRS=vendor DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list