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

Evangelos Foutras foutrelis at archlinux.org
Sat May 25 09:20:56 UTC 2019


    Date: Saturday, May 25, 2019 @ 09:20:55
  Author: foutrelis
Revision: 354072

archrelease: copy trunk to staging-any

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

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

Copied: perl-sys-hostname-long/repos/staging-any/PKGBUILD (from rev 354071, perl-sys-hostname-long/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2019-05-25 09:20:55 UTC (rev 354072)
@@ -0,0 +1,33 @@
+# 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=5
+pkgdesc="Perl module getting a full hostname"
+arch=('any')
+license=('PerlArtistic')
+url="https://search.cpan.org/dist/${_realname}/"
+depends=('perl')
+checkdepends=('inetutils')
+options=('!emptydirs')
+source=(https://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