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

Felix Yan felixonmars at archlinux.org
Mon May 24 10:44:43 UTC 2021


    Date: Monday, May 24, 2021 @ 10:44:42
  Author: felixonmars
Revision: 416201

archrelease: copy trunk to staging-any

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

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

Copied: perl-mail-spf/repos/staging-any/PKGBUILD (from rev 416198, perl-mail-spf/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2021-05-24 10:44:42 UTC (rev 416201)
@@ -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=8
+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