[arch-commits] Commit in perl-mail-spf/repos (staging-any staging-any/PKGBUILD)

Evangelos Foutras foutrelis at gemini.archlinux.org
Sun May 29 11:33:37 UTC 2022


    Date: Sunday, May 29, 2022 @ 11:33:37
  Author: foutrelis
Revision: 446905

archrelease: copy trunk to staging-any

Added:
  perl-mail-spf/repos/staging-any/
  perl-mail-spf/repos/staging-any/PKGBUILD
    (from rev 446903, perl-mail-spf/trunk/PKGBUILD)

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

Copied: perl-mail-spf/repos/staging-any/PKGBUILD (from rev 446903, perl-mail-spf/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2022-05-29 11:33:37 UTC (rev 446905)
@@ -0,0 +1,39 @@
+# Maintainer: Dale Blount <dale at archlinux.org>
+# Contributor: Dale Blount <dale at archlinux.org>
+# Contributor: François Charette <francois.archlinux.org>
+
+pkgname=perl-mail-spf
+pkgver=2.9.0
+pkgrel=9
+pkgdesc="Perl module that provides SPF support"
+arch=('any')
+license=('custom')
+url="https://search.cpan.org/dist/Mail-SPF/"
+depends=('perl-error' 'perl-netaddr-ip' 'perl-uri' 'perl-net-dns' 'perl')
+makedepends=('perl-module-build' 'perl-net-dns-resolver-programmable')
+conflicts=('perl-mail-spf-query')
+options=('!emptydirs')
+source=("https://search.cpan.org/CPAN/authors/id/J/JM/JMEHNLE/mail-spf/Mail-SPF-v${pkgver}.tar.gz")
+md5sums=('664e20d79c87fa505080f362e827dace')
+
+prepare() {
+  cd Mail-SPF-v${pkgver}
+  sed -i 's|/usr/sbin|/usr/bin|' Build.PL
+}
+
+build() {
+  cd Mail-SPF-v${pkgver}
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd Mail-SPF-v${pkgver}
+  make test
+}
+
+package() {
+  cd Mail-SPF-v${pkgver}
+  make DESTDIR="${pkgdir}" install
+  install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}



More information about the arch-commits mailing list