[arch-commits] Commit in perl-mail-spf/repos (staging-any staging-any/PKGBUILD)
Florian Pritz
bluewind at archlinux.org
Wed Aug 1 11:18:41 UTC 2018
Date: Wednesday, August 1, 2018 @ 11:18:40
Author: bluewind
Revision: 330189
archrelease: copy trunk to staging-any
Added:
perl-mail-spf/repos/staging-any/
perl-mail-spf/repos/staging-any/PKGBUILD
(from rev 330188, perl-mail-spf/trunk/PKGBUILD)
----------+
PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
Copied: perl-mail-spf/repos/staging-any/PKGBUILD (from rev 330188, perl-mail-spf/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD (rev 0)
+++ staging-any/PKGBUILD 2018-08-01 11:18:40 UTC (rev 330189)
@@ -0,0 +1,40 @@
+# $Id$
+# 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=4
+pkgdesc="Perl module that provides SPF support"
+arch=('any')
+license=('custom')
+url="http://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=("http://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