[arch-commits] Commit in perl-sys-hostname-long/repos (2 files)

Florian Pritz bluewind at archlinux.org
Wed Aug 1 09:27:46 UTC 2018


    Date: Wednesday, August 1, 2018 @ 09:27:46
  Author: bluewind
Revision: 330098

archrelease: copy trunk to staging-any

Added:
  perl-sys-hostname-long/repos/staging-any/
  perl-sys-hostname-long/repos/staging-any/PKGBUILD
    (from rev 330097, perl-sys-hostname-long/trunk/PKGBUILD)

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

Copied: perl-sys-hostname-long/repos/staging-any/PKGBUILD (from rev 330097, perl-sys-hostname-long/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2018-08-01 09:27:46 UTC (rev 330098)
@@ -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=4
+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