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

Evangelos Foutras foutrelis at archlinux.org
Mon May 24 08:43:13 UTC 2021


    Date: Monday, May 24, 2021 @ 08:43:12
  Author: foutrelis
Revision: 416057

archrelease: copy trunk to staging-any

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

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

Copied: perl-sys-hostname-long/repos/staging-any/PKGBUILD (from rev 416056, perl-sys-hostname-long/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2021-05-24 08:43:12 UTC (rev 416057)
@@ -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=8
+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