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

Felix Yan felixonmars at gemini.archlinux.org
Sun May 29 10:22:00 UTC 2022


    Date: Sunday, May 29, 2022 @ 10:21:59
  Author: felixonmars
Revision: 446767

archrelease: copy trunk to staging-any

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

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

Copied: perl-sys-hostname-long/repos/staging-any/PKGBUILD (from rev 446765, perl-sys-hostname-long/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2022-05-29 10:21:59 UTC (rev 446767)
@@ -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=9
+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