[arch-commits] Commit in perl-gnupg-interface/repos (2 files)

Evangelos Foutras foutrelis at gemini.archlinux.org
Sun May 29 11:51:34 UTC 2022


    Date: Sunday, May 29, 2022 @ 11:51:34
  Author: foutrelis
Revision: 1214464

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 1214462, perl-gnupg-interface/trunk/PKGBUILD)

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

Copied: perl-gnupg-interface/repos/community-staging-any/PKGBUILD (from rev 1214462, perl-gnupg-interface/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2022-05-29 11:51:34 UTC (rev 1214464)
@@ -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=3
+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