[arch-commits] Commit in perl-sys-hostname-long/repos/extra-any (PKGBUILD PKGBUILD)

Felix Yan fyan at archlinux.org
Thu Jan 15 04:59:52 UTC 2015


    Date: Thursday, January 15, 2015 @ 05:59:52
  Author: fyan
Revision: 229009

archrelease: copy trunk to extra-any

Added:
  perl-sys-hostname-long/repos/extra-any/PKGBUILD
    (from rev 229008, perl-sys-hostname-long/trunk/PKGBUILD)
Deleted:
  perl-sys-hostname-long/repos/extra-any/PKGBUILD

----------+
 PKGBUILD |   62 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 34 insertions(+), 28 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2015-01-15 04:59:30 UTC (rev 229008)
+++ PKGBUILD	2015-01-15 04:59:52 UTC (rev 229009)
@@ -1,28 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at gmail.com>
-# Contributor: Dale Blount <dale at archlinux.org>
-
-pkgname=perl-sys-hostname-long
-_realname=Sys-Hostname-Long
-pkgver=1.4
-pkgrel=6
-pkgdesc="Perl module getting a full hostname"
-arch=('any')
-license=('PerlArtistic')
-url="http://search.cpan.org/dist/${_realname}/"
-depends=('perl')
-options=(!emptydirs)
-source=(http://search.cpan.org/CPAN/authors/id/S/SC/SCOTT/${_realname}-${pkgver}.tar.gz)
-md5sums=('a5b3c23754cbcff10e283d16c42ec3d3')
-
-build() {
-  cd ${srcdir}/${_realname}-${pkgver}
-  # install module in vendor directories.
-  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
-  make
-}
-
-package() {
-  cd ${srcdir}/${_realname}-${pkgver}
-  make install DESTDIR=${pkgdir}
-}

Copied: perl-sys-hostname-long/repos/extra-any/PKGBUILD (from rev 229008, perl-sys-hostname-long/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2015-01-15 04:59:52 UTC (rev 229009)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Dale Blount <dale at archlinux.org>
+
+pkgname=perl-sys-hostname-long
+_realname=Sys-Hostname-Long
+pkgver=1.5
+pkgrel=1
+pkgdesc="Perl module getting a full hostname"
+arch=('any')
+license=('PerlArtistic')
+url="http://search.cpan.org/dist/${_realname}/"
+depends=('perl')
+checkdepends=('inetutils')
+options=('!emptydirs')
+source=(http://search.cpan.org/CPAN/authors/id/S/SC/SCOTT/${_realname}-${pkgver}.tar.gz)
+md5sums=('a7d7a36fa6905bded4f6b7da94e37532')
+
+build() {
+  cd "${srcdir}/${_realname}-${pkgver}"
+  # install module in vendor directories.
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd "${srcdir}/${_realname}-${pkgver}"
+  make test
+}
+
+package() {
+  cd "${srcdir}/${_realname}-${pkgver}"
+  make install DESTDIR="${pkgdir}"
+}



More information about the arch-commits mailing list