[arch-commits] Commit in perl-file-homedir/repos (2 files)

Felix Yan felixonmars at gemini.archlinux.org
Sun May 29 10:21:31 UTC 2022


    Date: Sunday, May 29, 2022 @ 10:21:30
  Author: felixonmars
Revision: 1214169

archrelease: copy trunk to community-staging-any

Added:
  perl-file-homedir/repos/community-staging-any/
  perl-file-homedir/repos/community-staging-any/PKGBUILD
    (from rev 1214168, perl-file-homedir/trunk/PKGBUILD)

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

Copied: perl-file-homedir/repos/community-staging-any/PKGBUILD (from rev 1214168, perl-file-homedir/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2022-05-29 10:21:30 UTC (rev 1214169)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-file-homedir
+pkgver=1.006
+pkgrel=3
+pkgdesc="Find your home and other directories on any platform"
+arch=('any')
+license=('PerlArtistic')
+url="https://metacpan.org/release/File-HomeDir"
+depends=('perl-file-which')
+options=('!emptydirs')
+source=("https://cpan.metacpan.org/authors/id/R/RE/REHSACK/File-HomeDir-$pkgver.tar.gz")
+sha512sums=('1ea90d68ed059ef5e890f6afb1280673dd5a597956f282c4ae8b4471c1751aa3cb2fcbe9caa6b2976937d11fd7233aa85a2dea611f87c79e0ddd1a501ceb890d')
+
+build() {
+  cd File-HomeDir-$pkgver
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd File-HomeDir-$pkgver
+  make test
+}
+
+package() {
+  cd File-HomeDir-$pkgver
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list