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

Eric Bélanger eric at nymeria.archlinux.org
Mon May 13 05:23:46 UTC 2013


    Date: Monday, May 13, 2013 @ 07:23:45
  Author: eric
Revision: 185303

archrelease: copy trunk to extra-any

Added:
  perl-mail-spf/repos/extra-any/PKGBUILD
    (from rev 185302, perl-mail-spf/trunk/PKGBUILD)
Deleted:
  perl-mail-spf/repos/extra-any/PKGBUILD

----------+
 PKGBUILD |   82 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 41 insertions(+), 41 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-13 05:23:04 UTC (rev 185302)
+++ PKGBUILD	2013-05-13 05:23:45 UTC (rev 185303)
@@ -1,41 +0,0 @@
-# $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
-_realname=Mail-SPF
-pkgver=2.8.0
-pkgrel=1
-pkgdesc="Perl module that provides SPF support"
-arch=('any')
-license=('custom')
-url="http://search.cpan.org/dist/${_realname}/"
-# Used for testing only.
-makedepends=('perl-net-dns-resolver-programmable')
-depends=('perl-error' 'perl-netaddr-ip' 'perl-uri' 'perl-net-dns' 'perl')
-conflicts=('perl-mail-spf-query')
-source=("http://search.cpan.org/CPAN/authors/id/J/JM/JMEHNLE/mail-spf/${_realname}-v${pkgver}.tar.gz")
-options=('!emptydirs')
-md5sums=('4f5bbd59058da680bfd9ff18e31489b7')
-
-build() {
-  cd ${srcdir}/${_realname}-v${pkgver}
-  # Fix required perl-net-dns-resolver-programmable version
-  #sed "s/=> 'v0.002.1',/=> 0,/" -i Build.PL
-  perl Makefile.PL INSTALLDIRS=vendor
-  make
-}
-
-check() {
-  cd ${srcdir}/${_realname}-v${pkgver}
-  make test
-}
-
-package() {
-  cd ${srcdir}/${_realname}-v${pkgver}
-  make DESTDIR=${pkgdir} install
-  find ${pkgdir} -name '.packlist' -delete
-  find ${pkgdir} -name 'perllocal.pod' -delete
-  install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
-}

Copied: perl-mail-spf/repos/extra-any/PKGBUILD (from rev 185302, perl-mail-spf/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2013-05-13 05:23:45 UTC (rev 185303)
@@ -0,0 +1,41 @@
+# $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
+_realname=Mail-SPF
+pkgver=2.8.0
+pkgrel=2
+pkgdesc="Perl module that provides SPF support"
+arch=('any')
+license=('custom')
+url="http://search.cpan.org/dist/${_realname}/"
+depends=('perl-error' 'perl-netaddr-ip' 'perl-uri' 'perl-net-dns' 'perl')
+makedepends=('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/${_realname}-v${pkgver}.tar.gz")
+md5sums=('4f5bbd59058da680bfd9ff18e31489b7')
+
+prepare() {
+  cd ${_realname}-v${pkgver}
+  sed -i 's|/usr/sbin|/usr/bin|' Build.PL
+}
+
+build() {
+  cd ${_realname}-v${pkgver}
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd ${_realname}-v${pkgver}
+  make test
+}
+
+package() {
+  cd ${_realname}-v${pkgver}
+  make DESTDIR="${pkgdir}"  sbin=/usr/bin install
+  install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}




More information about the arch-commits mailing list