[arch-commits] Commit in perl-mail-spf/repos (staging-any staging-any/PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Sat May 25 11:00:45 UTC 2019
Date: Saturday, May 25, 2019 @ 11:00:43
Author: foutrelis
Revision: 354232
archrelease: copy trunk to staging-any
Added:
perl-mail-spf/repos/staging-any/
perl-mail-spf/repos/staging-any/PKGBUILD
(from rev 354231, perl-mail-spf/trunk/PKGBUILD)
----------+
PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
Copied: perl-mail-spf/repos/staging-any/PKGBUILD (from rev 354231, perl-mail-spf/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD (rev 0)
+++ staging-any/PKGBUILD 2019-05-25 11:00:43 UTC (rev 354232)
@@ -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=5
+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