[arch-commits] Commit in perl-gnupg-interface/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Mon May 24 11:35:53 UTC 2021
Date: Monday, May 24, 2021 @ 11:35:53
Author: foutrelis
Revision: 944656
archrelease: copy trunk to community-staging-any
Added:
perl-gnupg-interface/repos/community-staging-any/
perl-gnupg-interface/repos/community-staging-any/PKGBUILD
(from rev 944655, perl-gnupg-interface/trunk/PKGBUILD)
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Copied: perl-gnupg-interface/repos/community-staging-any/PKGBUILD (from rev 944655, perl-gnupg-interface/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-05-24 11:35:53 UTC (rev 944656)
@@ -0,0 +1,34 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+
+_pkg=GnuPG-Interface
+pkgname=perl-${_pkg,,}
+pkgver=1.02
+pkgrel=2
+pkgdesc="Object-oriented methods for interacting with GnuPG"
+arch=('any')
+url="https://metacpan.org/release/${_pkg}"
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('gnupg' 'perl-math-bigint' 'perl-moo' 'perl-moox-handlesvia' 'perl-moox-late')
+makedepends=('perl-module-install')
+source=("https://cpan.metacpan.org/authors/id/B/BP/BPS/${_pkg}-${pkgver}.tar.gz")
+sha512sums=('ff4365aa75fbcd2dc77c915ec36c0b578219ae1a2148e936b4769221f91c78a3bc3d371159b5130e7bee36ecf0e169b6a16e3a160d2598811d6f70850119f6e4')
+
+build() {
+ cd ${_pkg}-${pkgver}
+ export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
+ perl Makefile.PL
+ make
+}
+
+check() {
+ cd ${_pkg}-${pkgver}
+ # 19 tests failing, likely because we are in a chroot
+ make test
+}
+
+package() {
+ cd ${_pkg}-${pkgver}
+ make INSTALLDIRS=vendor DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list